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

Unified Diff: ash/shell.cc

Issue 11743013: Scaling scroll/fling events in multi-monitor setup (Closed) Base URL: https://chromium.googlesource.com/chromium/src@git-svn
Patch Set: Rescale -> scale Created 7 years, 11 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
« ash/shell.h ('K') | « ash/shell.h ('k') | ui/base/events/event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 48f4350ed780e965614cdf026aaf3698ea4211a1..a4f770b12d14f15b73404645b2ca145722e44dd5 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -15,6 +15,7 @@
#include "ash/desktop_background/user_wallpaper_delegate.h"
#include "ash/display/display_controller.h"
#include "ash/display/display_manager.h"
+#include "ash/display/event_transformation_filter.h"
#include "ash/display/mouse_cursor_event_filter.h"
#include "ash/display/screen_position_controller.h"
#include "ash/drag_drop/drag_drop_controller.h"
@@ -469,6 +470,9 @@ void Shell::Init() {
AddPreTargetHandler(accelerator_filter_.get());
#endif
+ event_transformation_filter_.reset(new internal::EventTransformationFilter());
Ben Goodger (Google) 2013/01/07 18:06:05 nit: remove ()
+ AddPreTargetHandler(event_transformation_filter_.get());
+
system_gesture_filter_.reset(new internal::SystemGestureEventFilter);
AddPreTargetHandler(system_gesture_filter_.get());
« ash/shell.h ('K') | « ash/shell.h ('k') | ui/base/events/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698