Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Unified Diff: chrome/browser/ui/views/tabs/tab_drag_controller.h

Issue 455553003: Do not release capture when starting a move loop on Desktop Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/tabs/tab_drag_controller.h
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller.h b/chrome/browser/ui/views/tabs/tab_drag_controller.h
index c8c8ec64e4de3030c8e228b1a04f414909518acc..1ae0b7a9882231d16d7efdf118854c6597e5930b 100644
--- a/chrome/browser/ui/views/tabs/tab_drag_controller.h
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller.h
@@ -461,9 +461,10 @@ class TabDragController : public content::NotificationObserver,
// object.
chrome::HostDesktopType host_desktop_type_;
- // Aura mouse capture and release is used on Ash platforms as well as on
- // Linux to ensure that pointer grab is not released prematurely.
- bool use_aura_capture_policy_;
+ // Whether capture can be released during the drag. When false, capture should
+ // not be released when transferring capture between widgets and when starting
+ // the move loop.
+ bool can_release_capture_;
// The position of the mouse (in screen coordinates) at the start of the drag
// operation. This is used to calculate minimum elasticity before a

Powered by Google App Engine
This is Rietveld 408576698