Chromium Code Reviews| Index: ui/events/ozone/evdev/event_factory_evdev.cc |
| diff --git a/ui/events/ozone/evdev/event_factory_evdev.cc b/ui/events/ozone/evdev/event_factory_evdev.cc |
| index ed201d33dcbbce420f485e90b2abce3457dd838a..11ede97501eca3850152b579567df1bd6baf73b4 100644 |
| --- a/ui/events/ozone/evdev/event_factory_evdev.cc |
| +++ b/ui/events/ozone/evdev/event_factory_evdev.cc |
| @@ -254,12 +254,16 @@ void EventFactoryEvdev::DispatchMouseDevicesUpdated( |
| const std::vector<InputDevice>& devices) { |
| // There's no list of mice in DeviceDataManager. |
|
spang
2015/02/03 20:43:22
Just noticed these comments got left behind. Somet
pkotwicz
2015/02/04 03:33:41
There still isn't a list of mice in DeviceDataMana
|
| input_controller_.set_has_mouse(devices.size() != 0); |
| + DeviceHotplugEventObserver* observer = DeviceDataManager::GetInstance(); |
| + observer->OnMouseDevicesUpdated(devices); |
| } |
| void EventFactoryEvdev::DispatchTouchpadDevicesUpdated( |
| const std::vector<InputDevice>& devices) { |
| // There's no list of touchpads in DeviceDataManager. |
| input_controller_.set_has_touchpad(devices.size() != 0); |
| + DeviceHotplugEventObserver* observer = DeviceDataManager::GetInstance(); |
| + observer->OnTouchpadDevicesUpdated(devices); |
| } |