-
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.
[TLDD] Use instanceId to differentiate dragsource. Moved shared state…
…s to static class and made TabDragSource non-static. * The current tab drag-drop implementation uses a hash of toolbarView to detect if this instance is same as that of drag source. Updated this to use instanceId from MultiWindowManager instead since drag could be invoked from tab switcher where we wont have toolbarView. * Moved variables shared between instanced to DragDropSharedState static instance * Cleanup tests and related source code * Cleanup and simplify TabDropTarget Moved this logic to common /dragdrop/ package. Change-Id: Ic036847699f2b22987429d6ff2cad7d4cfc2812b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4943197 Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Wenyu Fu <wenyufu@chromium.org> Commit-Queue: Sirisha Kavuluru <skavuluru@google.com> Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org> Cr-Commit-Position: refs/heads/main@{#1217099}
- Loading branch information
Sirisha Kavuluru
authored and
Chromium LUCI CQ
committed
Oct 30, 2023
1 parent
f517843
commit 6bf60e0
Showing
14 changed files
with
633 additions
and
1,044 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
Oops, something went wrong.