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

Unified Diff: ui/aura/window_event_dispatcher.h

Issue 2677153003: Fix event dispatching offset problem in the client-lib in high-dpi mode. (conversion) (Closed)
Patch Set: Created 3 years, 10 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 | « ui/aura/mus/window_tree_client.cc ('k') | ui/aura/window_event_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_event_dispatcher.h
diff --git a/ui/aura/window_event_dispatcher.h b/ui/aura/window_event_dispatcher.h
index 32b2b905bf04d5180ee83fdc869db514437a9ee5..05510066d7046fa4382de7ba6eafa0e0737dfa80 100644
--- a/ui/aura/window_event_dispatcher.h
+++ b/ui/aura/window_event_dispatcher.h
@@ -60,6 +60,8 @@ class AURA_EXPORT WindowEventDispatcher : public ui::EventProcessor,
Window* mouse_pressed_handler() { return mouse_pressed_handler_; }
Window* mouse_moved_handler() { return mouse_moved_handler_; }
+ void set_transform_events(bool value) { transform_events_ = value; }
+
// Repost event for re-processing. Used when exiting context menus.
// We support the ET_MOUSE_PRESSED, ET_TOUCH_PRESSED and ET_GESTURE_TAP_DOWN
// event types (although the latter is currently a no-op).
@@ -242,6 +244,8 @@ class AURA_EXPORT WindowEventDispatcher : public ui::EventProcessor,
Window* event_dispatch_target_;
Window* old_dispatch_target_;
+ bool transform_events_;
+
bool synthesize_mouse_move_;
// How many move holds are outstanding. We try to defer dispatching
« no previous file with comments | « ui/aura/mus/window_tree_client.cc ('k') | ui/aura/window_event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698