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

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

Issue 254573002: Sets X11WholeScreenMoveLoop as OverrideDispatcher to get events even before grab is granted (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sets X11WholeScreenMoveLoop as OverrideDispatcher to get events even before grab is granted 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/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 cc5fcbf551f3f3b69eccf4dac84cdae1a794d01b..bbb21b27cc2a738b151e138fa7cfd75d0d97af6d 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
@@ -9,6 +9,7 @@
#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
#include "ui/events/platform/platform_event_dispatcher.h"
+#include "ui/events/platform/scoped_event_dispatcher.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/vector2d_f.h"
@@ -72,6 +73,7 @@ class X11WholeScreenMoveLoop : public ui::PlatformEventDispatcher {
// Are we running a nested message loop from RunMoveLoop()?
bool in_move_loop_;
+ scoped_ptr<ui::ScopedEventDispatcher> nested_dispatcher_;
bool should_reset_mouse_flags_;

Powered by Google App Engine
This is Rietveld 408576698