DescriptionFix Linux Aura drag-and-drop cancellation.
Fixes Escape key drag-and-drop cancellation handling.
(this is a followup fix for Issue 344289 and r254289)
SendXdndLeave(source_current_window_) in OnMoveLoopEnded.
(seems like a misnomer, this is the target drop window)
(alerts the target window to repaint and cleanup, etc.)
BUG=349151, 344289
TEST=Dragging text, bookmarks, etc. from a Linux Aura browser window to the same window, other Chrome windows, and other application is cancelled correctly when pressing [Esc] (no lingering drop indicator, etc.).
R=erg@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255449
Patch Set 1 #Patch Set 2 : Try fixing bookmarks too; need another approach. #Patch Set 3 : Nix OnDragDone changes; rely on OnDragExited, NotifyDragLeave, OnMoveLoopEnded. #Patch Set 4 : SendXdndLeave to source_current_window_ in OnMoveLoopEnded too. #Patch Set 5 : Revert BookmarkBarView changes; remove NotifyDragLeave call. #Messages
Total messages: 10 (0 generated)
|