PreviewTab: Move EphemeralTabCoordiator to TabbedRootUiCoordiator
This CL moves EphemeralTabCoordinator field from ChromeActivity to TabbedRootUiCoordinator since it is UI a component for tabbed mode only. This aims to make the code structure better by slimming down ChromeActivity (no more getter for the object), hence one less usage of Tab.getActivity() in TabContextMenuItemDelegate, replaced with an injection of a dependency through the constructor. Bug: 1051184 Change-Id: I5856cb27030f3b7e7e17efd93a001d2e84335a71 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2102029 Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org> Reviewed-by:Theresa <twellington@chromium.org> Cr-Commit-Position: refs/heads/master@{#751583}
Showing
Please register or sign in to comment