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

Unified Diff: ui/views/widget/desktop_aura/x11_whole_screen_move_loop.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: Avoids releasing capture in EndMoveLoop if capture was switched to another window (comments) Created 6 years, 7 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
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h
diff --git a/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h b/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h
index 34f2783a73fb34c0b661952945e0cb54e0d481bf..cf3665ecac6c8d968340e85121419cf6570c0bbd 100644
--- a/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h
+++ b/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h
@@ -91,6 +91,9 @@ class X11WholeScreenMoveLoop : public ui::PlatformEventDispatcher {
// pressing escape).
bool canceled_;
+ // Keeps track of whether we still have a pointer grab at the end of the loop.
+ bool has_grab_;
+
// A Widget is created during the drag if there is an image available to be
// used during the drag.
scoped_ptr<Widget> drag_widget_;
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698