Chromium Code Reviews| Index: ui/events/device_data_manager.cc |
| diff --git a/ui/events/device_data_manager.cc b/ui/events/device_data_manager.cc |
| index d255b871abc80b10082d7408e92e25deafc7cb9a..fd9976461a658ffe6227b62d3d8d32bcb7daa26e 100644 |
| --- a/ui/events/device_data_manager.cc |
| +++ b/ui/events/device_data_manager.cc |
| @@ -112,7 +112,14 @@ int64_t DeviceDataManager::GetDisplayForTouchDevice(int touch_device_id) const { |
| void DeviceDataManager::OnTouchscreenDevicesUpdated( |
| const std::vector<TouchscreenDevice>& devices) { |
| touchscreen_devices_ = devices; |
| +} |
| + |
| +void DeviceDataManager::OnKeyboardDevicesUpdated( |
| + const std::vector<KeyboardDevice>& devices) { |
| + keyboard_devices_ = devices; |
| +} |
|
sadrul
2014/10/02 15:53:53
You should explicitly call into OnInputDeviceConfi
rsadam
2014/10/02 22:52:27
Changed to two methods as discussed offline.
|
| +void DeviceDataManager::OnInputDeviceConfigurationChanged() { |
| FOR_EACH_OBSERVER(InputDeviceEventObserver, |
| observers_, |
| OnInputDeviceConfigurationChanged()); |