|
Add new InputDeviceManager interface.
This interface contains the methods from DeviceDataManager that we want
to expose in multiple processes for mash.
A different implementation of the interface will be required to mirror
input device state. This will come in a follow up CL.
InputDeviceManager holds a non-owning static pointer to an
implementation. This allows client code to be agnostic to which
implementation they are using.
Update client code that uses DeviceDataManager to get information about
input-devices to use InputDeviceManager instead. This should have
identical functionality in cash and be suitable for use with mash.
There is client code where DeviceDataManager is used for information
about touch transforms or where DeviceDataManager state is manipulated
in tests. These cases are beyond the scope of InputDeviceManager and
client code was not updated here.
BUG= 601981
Committed: https://crrev.com/e223f03206a1f3a34141f36c39ad6f77557bea0d
Cr-Commit-Position: refs/heads/master@{#397707}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+191 lines, -81 lines) |
Patch |
 |
M |
ash/display/display_change_observer_chromeos.cc
|
View
|
1
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/touch/touch_transformer_controller.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/virtual_keyboard_controller.cc
|
View
|
1
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/events/event_rewriter.cc
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/system/pointer_device_observer.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc
|
View
|
1
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/chromeos/keyboard_handler.cc
|
View
|
1
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/base/material_design/material_design_controller.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/base/touch/touch_device_linux.cc
|
View
|
1
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/events/devices/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/events/devices/device_data_manager.h
|
View
|
1
|
3 chunks |
+13 lines, -22 lines |
0 comments
|
Download
|
 |
M |
ui/events/devices/device_data_manager.cc
|
View
|
1
|
2 chunks |
+27 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/events/devices/events_devices.gyp
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/devices/input_device_manager.h
|
View
|
1
2
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/devices/input_device_manager.cc
|
View
|
1
2
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/events/devices/x11/device_data_manager_x11.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/events/devices/x11/device_data_manager_x11_unittest.cc
|
View
|
1
|
5 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ui/events/devices/x11/touch_factory_x11.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/events/x/events_x_utils.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/egltest/ozone_platform_egltest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 22 (10 generated)
|