Index: ui/events/devices/device_data_manager.h |
diff --git a/ui/events/devices/device_data_manager.h b/ui/events/devices/device_data_manager.h |
index 2975b9fe77eddd452a59d76ad388778f9b4e5bb4..f3782ebd02629af8341bc470a5341dc72ec5a5a6 100644 |
--- a/ui/events/devices/device_data_manager.h |
+++ b/ui/events/devices/device_data_manager.h |
@@ -20,6 +20,10 @@ |
namespace ui { |
+namespace test { |
+class DeviceDataManagerTestAPI; |
+} // namespace test |
+ |
class InputDeviceEventObserver; |
// Keeps track of device mappings and event transformations. |
@@ -78,10 +82,18 @@ class EVENTS_DEVICES_EXPORT DeviceDataManager |
void OnDeviceListsComplete() override; |
private: |
+ friend class test::DeviceDataManagerTestAPI; |
+ |
static DeviceDataManager* instance_; |
bool IsTouchDeviceIdValid(int touch_device_id) const; |
+ void NotifyObserversTouchscreenDeviceConfigurationChanged(); |
+ void NotifyObserversKeyboardDeviceConfigurationChanged(); |
+ void NotifyObserversMouseDeviceConfigurationChanged(); |
+ void NotifyObserversTouchpadDeviceConfigurationChanged(); |
+ void NotifyObserversDeviceListsComplete(); |
+ |
double touch_radius_scale_map_[kMaxDeviceNum]; |
// Index table to find the target display id for a touch device. |