-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DnD: Add support for tab tearing to a new window using drag and drop
The feature is behind a TAB_DRAG_DROP_ANDROID feature flag which is set to false by default. Pipe the multi instance manager and toolbar_container view from the ChromeTabbedActivity to the TabDragSource. Add method to MultiInstanceManagerApi31 to launch a new Chrome window and reparent the selected tab to it when it is dropped outside the strip layout area within the toolbar container view. Low-Coverage-Reason: The code is only executed in environments not in the CQ. Integration test over MultiInstanceManager31 aren't counted. Bug: 276804039 Change-Id: I53a9c9490c176cc340eaf7383cf0bb581dff0fce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4596528 Reviewed-by: Yusuke Sato <yusukes@chromium.org> Commit-Queue: Gurmeet Kalra <gurmeetk@google.com> Reviewed-by: Theresa Sullivan <twellington@chromium.org> Cr-Commit-Position: refs/heads/main@{#1158436}
- Loading branch information
Showing
11 changed files
with
359 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.