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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h

Issue 265843004: Avoids releasing capture in EndMoveLoop if capture was switched to another window while dragging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
index e369718838ce95eb0b1c39d210465470c93bd343..2843d5c5557465a2d20a2c228d12da3edb8b25a4 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
@@ -50,6 +50,9 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11
// A way of converting an X11 |xid| host window into this object.
static DesktopWindowTreeHostX11* GetHostForXID(XID xid);
+ // Returns if any DesktopWindowTreeHostX11 instance has capture.
+ static bool AnyHostHasCapture();
+
// Get all open top-level windows. This includes windows that may not be
// visible. This list is sorted in their stacking order, i.e. the first window
// is the topmost window.

Powered by Google App Engine
This is Rietveld 408576698