summaryrefslogtreecommitdiffstats
path: root/ash/ash.gyp
diff options
context:
space:
mode:
authoroshima <oshima@chromium.org>2015-04-23 17:30:28 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-24 00:30:37 +0000
commit83e6f6f8603ab57e1a4d16a7d6e7802e4b8ffc2b (patch)
tree4e63c3c72956b7c9eaef6903be68dab3d47181d7 /ash/ash.gyp
parent0810f2fa93ea42181ad9628184246aed8efb8008 (diff)
downloadchromium_src-83e6f6f8603ab57e1a4d16a7d6e7802e4b8ffc2b.zip
chromium_src-83e6f6f8603ab57e1a4d16a7d6e7802e4b8ffc2b.tar.gz
chromium_src-83e6f6f8603ab57e1a4d16a7d6e7802e4b8ffc2b.tar.bz2
Refactor mouse cursor event filter
Move the cursor warp logic into separate class. Also improve the test to use the logic closer to real one. This is to implement different mouse warp logic for unified desktop mode (and also useful when ozone has its own logic in lower level) BUG=365662 TEST=no functional change. All tests should pass. Review URL: https://codereview.chromium.org/1100303002 Cr-Commit-Position: refs/heads/master@{#326702}
Diffstat (limited to 'ash/ash.gyp')
-rw-r--r--ash/ash.gyp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ash/ash.gyp b/ash/ash.gyp
index e0f39d5..0ade666 100644
--- a/ash/ash.gyp
+++ b/ash/ash.gyp
@@ -80,12 +80,17 @@
'display/display_pref_util.h',
'display/display_util.cc',
'display/display_util.h',
+ 'display/extended_mouse_warp_controller.cc',
+ 'display/extended_mouse_warp_controller.h',
'display/event_transformation_handler.cc',
'display/event_transformation_handler.h',
'display/mirror_window_controller.cc',
'display/mirror_window_controller.h',
'display/mouse_cursor_event_filter.cc',
'display/mouse_cursor_event_filter.h',
+ 'display/mouse_warp_controller.h',
+ 'display/null_mouse_warp_controller.cc',
+ 'display/null_mouse_warp_controller.h',
'display/projecting_observer_chromeos.cc',
'display/projecting_observer_chromeos.h',
'display/resolution_notification_controller.cc',
@@ -767,6 +772,7 @@
'display/display_error_observer_chromeos_unittest.cc',
'display/display_info_unittest.cc',
'display/display_manager_unittest.cc',
+ 'display/extended_mouse_warp_controller_unittest.cc',
'display/mirror_window_controller_unittest.cc',
'display/mouse_cursor_event_filter_unittest.cc',
'display/projecting_observer_chromeos_unittest.cc',