|
Move touchscreen device caching to DeviceDataManager
Rather than poll for touchscreen devices in ui/display, centralize
X11 hotplug handling into ui/events and have TouchscreenDelegateImpl
reuse the cached device list.
In addition, DeviceDataManager will now cache all the touchscreen
devices and provides an observer pattern such that we can move input
event hotplugging out of ui/display entirely (this will be done in a
follow-up CL).
BUG= 381326
Committed: https://crrev.com/1e77a6b0a26aecd03e8512e91cdd93befb8a66c0
Cr-Commit-Position: refs/heads/master@{#294388}
Total comments: 26
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+277 lines, -538 lines) |
Patch |
 |
M |
ui/display/BUILD.gn
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
A + |
ui/display/chromeos/DEPS
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
M |
ui/display/chromeos/display_configurator.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/display/chromeos/display_configurator.cc
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/display/chromeos/ozone/display_configurator_ozone.cc
|
View
|
1
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/display/chromeos/touchscreen_delegate_impl.h
|
View
|
1
2
3
4
5
|
2 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
ui/display/chromeos/touchscreen_delegate_impl.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/display/chromeos/touchscreen_delegate_impl_unittest.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+36 lines, -47 lines |
0 comments
|
Download
|
 |
M |
ui/display/chromeos/x11/display_configurator_x11.cc
|
View
|
1
|
2 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ui/display/chromeos/x11/native_display_delegate_x11.h
|
View
|
1
2
3
4
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/display/chromeos/x11/native_display_delegate_x11.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+29 lines, -52 lines |
0 comments
|
Download
|
 |
D |
ui/display/chromeos/x11/touchscreen_device_manager_x11.h
|
View
|
|
1 chunk |
+0 lines, -32 lines |
0 comments
|
Download
|
 |
D |
ui/display/chromeos/x11/touchscreen_device_manager_x11.cc
|
View
|
|
1 chunk |
+0 lines, -163 lines |
0 comments
|
Download
|
 |
M |
ui/display/display.gyp
|
View
|
|
4 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/display/types/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
D |
ui/display/types/chromeos/touchscreen_device.h
|
View
|
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
D |
ui/display/types/chromeos/touchscreen_device.cc
|
View
|
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
 |
D |
ui/display/types/chromeos/touchscreen_device_manager.h
|
View
|
|
1 chunk |
+0 lines, -27 lines |
0 comments
|
Download
|
 |
M |
ui/events/BUILD.gn
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/events/device_data_manager.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+23 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/events/device_data_manager.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/device_hotplug_event_observer.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+25 lines, -0 lines |
2 comments
|
Download
|
 |
M |
ui/events/events.gyp
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/input_device_event_observer.h
|
View
|
1
2
3
4
5
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/events/platform/x11/x11_event_source.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/events/platform/x11/x11_event_source.cc
|
View
|
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
ui/events/touchscreen_device.h
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
ui/events/touchscreen_device.cc
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/events/x/device_list_cache_x.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/x/hotplug_event_handler_x11.h
|
View
|
1
2
3
4
5
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
ui/events/x/hotplug_event_handler_x11.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+50 lines, -31 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
D |
ui/ozone/common/chromeos/touchscreen_device_manager_ozone.h
|
View
|
|
1 chunk |
+0 lines, -27 lines |
0 comments
|
Download
|
 |
D |
ui/ozone/common/chromeos/touchscreen_device_manager_ozone.cc
|
View
|
|
1 chunk |
+0 lines, -20 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/ozone.gyp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/caca/ozone_platform_caca.cc
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/dri/ozone_platform_dri.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/dri/ozone_platform_gbm.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/egltest/ozone_platform_egltest.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/test/ozone_platform_test.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/public/ozone_platform.h
|
View
|
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
Total messages: 16 (2 generated)
|