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

Issue 685793002: Move all event related devices from ui/events/ to ui/events/devices/ (Closed)

Created:
6 years, 1 month ago by dnicoara
Modified:
6 years, 1 month ago
CC:
chromium-reviews, ozone-reviews_chromium.org, tdanderson+views_chromium.org, sadrul, nkostylev+watch_chromium.org, derat+watch_chromium.org, tdresser+watch_chromium.org, Ilya Sherman, asvitkine+watch_chromium.org, oshima+watch_chromium.org, tfarina, kalyank, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, yusukes+watch_chromium.org, Elliot Glaysher
Base URL:
https://chromium.googlesource.com/chromium/src.git@internal-touchscreens
Project:
chromium
Visibility:
Public.

Description

Move all event related devices from ui/events/ to ui/events/devices/ BUG=none Committed: https://crrev.com/78a7347037f09a028e53a0c68ddf01d62a43703f Cr-Commit-Position: refs/heads/master@{#302647}

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Fixed ash include #

Total comments: 2

Patch Set 4 : Create events_devices target #

Patch Set 5 : fix gn build #

Patch Set 6 : . #

Patch Set 7 : Fix annotations & skia deps #

Patch Set 8 : . #

Patch Set 9 : Fix gn build #

Total comments: 12

Patch Set 10 : fix order #

Patch Set 11 : Rebased #

Total comments: 4

Patch Set 12 : Fix ash test helper deps #

Patch Set 13 : reorder #

Patch Set 14 : Remove unnecessary include #

Patch Set 15 : fix ozone #

Unified diffs Side-by-side diffs Delta from patch set Stats (+372 lines, -2959 lines) Patch
M ash/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +3 lines, -0 lines 0 comments Download
M ash/ash.gyp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +3 lines, -0 lines 0 comments Download
M ash/display/display_change_observer_chromeos.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/display/display_change_observer_chromeos.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ash/host/ash_window_tree_host_x11.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M ash/shell/content_client/shell_browser_main_parts.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/test/virtual_keyboard_test_helper.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -5 lines 0 comments Download
M ash/touch/touch_hud_debug.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/touch/touch_transformer_controller.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ash/touch/touch_transformer_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ash/touch/touchscreen_util.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/touch/touchscreen_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/touch/touchscreen_util_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/virtual_keyboard_controller.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ash/virtual_keyboard_controller.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -4 lines 0 comments Download
M ash/virtual_keyboard_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -5 lines 0 comments Download
M ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M ash/wm/system_gesture_event_filter.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M athena/main/athena_launcher.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/device_uma.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/events/event_rewriter_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/chromeos_metrics_provider.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/chromeos_metrics_provider_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_browser_main_parts.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/shell/browser/shell_browser_main_parts.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/window_tree_host_x11.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M ui/base/touch/touch_device_aurax11.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/base/x/x11_util.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M ui/events/BUILD.gn View 1 2 3 4 5 6 7 10 chunks +11 lines, -24 lines 0 comments Download
D ui/events/device_data_manager.h View 1 chunk +0 lines, -89 lines 0 comments Download
D ui/events/device_data_manager.cc View 1 chunk +0 lines, -160 lines 0 comments Download
D ui/events/device_hotplug_event_observer.h View 1 chunk +0 lines, -35 lines 0 comments Download
D ui/events/device_util_linux.h View 1 chunk +0 lines, -21 lines 0 comments Download
D ui/events/device_util_linux.cc View 1 chunk +0 lines, -46 lines 0 comments Download
A ui/events/devices/BUILD.gn View 1 2 3 4 5 6 1 chunk +53 lines, -0 lines 0 comments Download
A + ui/events/devices/device_data_manager.h View 1 2 3 4 chunks +9 lines, -8 lines 0 comments Download
A + ui/events/devices/device_data_manager.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + ui/events/devices/device_hotplug_event_observer.h View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
A + ui/events/devices/device_util_linux.h View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
A + ui/events/devices/device_util_linux.cc View 1 chunk +1 line, -1 line 0 comments Download
A ui/events/devices/events_devices.gyp View 1 2 3 4 5 6 1 chunk +58 lines, -0 lines 0 comments Download
A ui/events/devices/events_devices_export.h View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
A + ui/events/devices/input_device.h View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
A + ui/events/devices/input_device.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A + ui/events/devices/input_device_event_observer.h View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
A + ui/events/devices/keyboard_device.h View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
A + ui/events/devices/keyboard_device.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + ui/events/devices/touchscreen_device.h View 1 2 3 2 chunks +6 lines, -6 lines 0 comments Download
A + ui/events/devices/touchscreen_device.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
A + ui/events/devices/x11/device_data_manager_x11.h View 1 2 3 4 chunks +6 lines, -6 lines 0 comments Download
A + ui/events/devices/x11/device_data_manager_x11.cc View 1 2 3 4 chunks +6 lines, -6 lines 0 comments Download
A + ui/events/devices/x11/device_data_manager_x11_unittest.cc View 1 2 3 2 chunks +6 lines, -6 lines 0 comments Download
A + ui/events/devices/x11/device_list_cache_x11.h View 1 2 3 4 chunks +10 lines, -10 lines 0 comments Download
A + ui/events/devices/x11/device_list_cache_x11.cc View 1 2 3 5 chunks +9 lines, -9 lines 0 comments Download
A + ui/events/devices/x11/touch_factory_x11.h View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
A + ui/events/devices/x11/touch_factory_x11.cc View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
M ui/events/events.gyp View 1 2 3 4 5 6 7 8 9 8 chunks +8 lines, -21 lines 0 comments Download
D ui/events/input_device.h View 1 1 chunk +0 lines, -42 lines 0 comments Download
D ui/events/input_device.cc View 1 1 chunk +0 lines, -27 lines 0 comments Download
D ui/events/input_device_event_observer.h View 1 2 3 1 chunk +0 lines, -23 lines 0 comments Download
D ui/events/keyboard_device.h View 1 chunk +0 lines, -22 lines 0 comments Download
D ui/events/keyboard_device.cc View 1 chunk +0 lines, -19 lines 0 comments Download
M ui/events/ozone/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/ozone/evdev/event_factory_evdev.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M ui/events/ozone/evdev/touch_event_converter_evdev.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M ui/events/ozone/events_ozone.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/platform/x11/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -0 lines 0 comments Download
M ui/events/platform/x11/x11_event_source.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M ui/events/platform/x11/x11_event_source.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M ui/events/platform/x11/x11_events_platform.gyp View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
A + ui/events/platform/x11/x11_hotplug_event_handler.h View 1 2 3 3 chunks +8 lines, -8 lines 0 comments Download
A + ui/events/platform/x11/x11_hotplug_event_handler.cc View 1 2 3 4 chunks +12 lines, -12 lines 0 comments Download
M ui/events/test/events_test_utils_x11.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/events/test/events_test_utils_x11.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
D ui/events/touchscreen_device.h View 1 1 chunk +0 lines, -32 lines 0 comments Download
D ui/events/touchscreen_device.cc View 1 1 chunk +0 lines, -23 lines 0 comments Download
D ui/events/x/device_data_manager_x11.h View 1 chunk +0 lines, -324 lines 0 comments Download
D ui/events/x/device_data_manager_x11.cc View 1 chunk +0 lines, -769 lines 0 comments Download
D ui/events/x/device_data_manager_x11_unittest.cc View 1 chunk +0 lines, -182 lines 0 comments Download
D ui/events/x/device_list_cache_x.h View 1 2 3 1 chunk +0 lines, -71 lines 0 comments Download
M ui/events/x/device_list_cache_x.cc View 1 2 3 1 chunk +0 lines, -78 lines 0 comments Download
M ui/events/x/events_x.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M ui/events/x/events_x_unittest.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
D ui/events/x/hotplug_event_handler_x11.h View 1 2 3 1 chunk +0 lines, -35 lines 0 comments Download
M ui/events/x/hotplug_event_handler_x11.cc View 1 2 3 1 chunk +0 lines, -221 lines 0 comments Download
D ui/events/x/touch_factory_x11.h View 1 2 3 1 chunk +0 lines, -156 lines 0 comments Download
M ui/events/x/touch_factory_x11.cc View 1 2 3 1 chunk +0 lines, -355 lines 0 comments Download
M ui/ozone/public/ozone_platform.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/platform_window/x11/x11_window.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/views/BUILD.gn View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M ui/views/controls/menu/menu_controller_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/views/views.gyp View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M ui/wm/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/wm/core/compound_event_filter.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/wm/wm.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 23 (5 generated)
dnicoara
PTAL sadrul@ for ui/* derat@ for ash/* and chrome/* isherman@ for chrome/browser/metrics/*
6 years, 1 month ago (2014-10-30 14:20:34 UTC) #2
Daniel Erat
lgtm for ash/ and chrome/
6 years, 1 month ago (2014-10-30 14:27:47 UTC) #3
sadrul
https://codereview.chromium.org/685793002/diff/40001/ui/events/events.gyp File ui/events/events.gyp (right): https://codereview.chromium.org/685793002/diff/40001/ui/events/events.gyp#newcode55 ui/events/events.gyp:55: 'devices/touchscreen_device.h', Should 'devices' be a separate component?
6 years, 1 month ago (2014-10-30 16:20:53 UTC) #4
Ilya Sherman
//chrome/browser/metrics/* lgtm
6 years, 1 month ago (2014-10-30 21:39:42 UTC) #5
dnicoara
https://codereview.chromium.org/685793002/diff/40001/ui/events/events.gyp File ui/events/events.gyp (right): https://codereview.chromium.org/685793002/diff/40001/ui/events/events.gyp#newcode55 ui/events/events.gyp:55: 'devices/touchscreen_device.h', On 2014/10/30 16:20:52, sadrul wrote: > Should 'devices' ...
6 years, 1 month ago (2014-10-31 15:17:39 UTC) #6
sadrul
Some comments/nits. Otherwise, LGTM https://codereview.chromium.org/685793002/diff/160001/ui/events/devices/BUILD.gn File ui/events/devices/BUILD.gn (right): https://codereview.chromium.org/685793002/diff/160001/ui/events/devices/BUILD.gn#newcode31 ui/events/devices/BUILD.gn:31: "//skia", I suppose you need ...
6 years, 1 month ago (2014-11-03 17:09:59 UTC) #7
dnicoara
https://codereview.chromium.org/685793002/diff/160001/ui/events/devices/BUILD.gn File ui/events/devices/BUILD.gn (right): https://codereview.chromium.org/685793002/diff/160001/ui/events/devices/BUILD.gn#newcode31 ui/events/devices/BUILD.gn:31: "//skia", On 2014/11/03 17:09:59, sadrul wrote: > I suppose ...
6 years, 1 month ago (2014-11-03 18:13:17 UTC) #8
sadrul
still lgtm https://codereview.chromium.org/685793002/diff/160001/ui/events/devices/BUILD.gn File ui/events/devices/BUILD.gn (right): https://codereview.chromium.org/685793002/diff/160001/ui/events/devices/BUILD.gn#newcode45 ui/events/devices/BUILD.gn:45: "x11/touch_factory_x11.h", On 2014/11/03 18:13:17, dnicoara wrote: > ...
6 years, 1 month ago (2014-11-03 18:19:20 UTC) #9
dnicoara
+ pfeldman@ for content/shell/* + mukai@ for athena/* + msw@ for chrome/browser/ui/*
6 years, 1 month ago (2014-11-03 20:23:33 UTC) #11
msw
lgtm with nit and q. https://codereview.chromium.org/685793002/diff/200001/ui/events/ozone/evdev/event_factory_evdev.cc File ui/events/ozone/evdev/event_factory_evdev.cc (right): https://codereview.chromium.org/685793002/diff/200001/ui/events/ozone/evdev/event_factory_evdev.cc#newcode16 ui/events/ozone/evdev/event_factory_evdev.cc:16: #include "ui/events/devices/device_util_linux.h" Is this ...
6 years, 1 month ago (2014-11-03 21:05:10 UTC) #12
dnicoara
https://codereview.chromium.org/685793002/diff/200001/ui/events/ozone/evdev/event_factory_evdev.cc File ui/events/ozone/evdev/event_factory_evdev.cc (right): https://codereview.chromium.org/685793002/diff/200001/ui/events/ozone/evdev/event_factory_evdev.cc#newcode16 ui/events/ozone/evdev/event_factory_evdev.cc:16: #include "ui/events/devices/device_util_linux.h" On 2014/11/03 21:05:10, msw wrote: > Is ...
6 years, 1 month ago (2014-11-03 21:13:01 UTC) #13
Elliot Glaysher
lgtm
6 years, 1 month ago (2014-11-03 22:44:15 UTC) #15
Jun Mukai
athena lgtm
6 years, 1 month ago (2014-11-04 06:35:46 UTC) #16
dnicoara
-pfeldman@ +davidben@ for content/*
6 years, 1 month ago (2014-11-04 14:51:49 UTC) #18
davidben
content lgtm
6 years, 1 month ago (2014-11-04 18:57:17 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/685793002/280001
6 years, 1 month ago (2014-11-04 18:59:58 UTC) #21
commit-bot: I haz the power
Committed patchset #15 (id:280001)
6 years, 1 month ago (2014-11-04 19:55:10 UTC) #22
commit-bot: I haz the power
6 years, 1 month ago (2014-11-04 19:55:48 UTC) #23
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/78a7347037f09a028e53a0c68ddf01d62a43703f
Cr-Commit-Position: refs/heads/master@{#302647}

Powered by Google App Engine
This is Rietveld 408576698