Chromium Code Reviews| Index: ui/events/platform/x11/x11_hotplug_event_handler.cc |
| diff --git a/ui/events/platform/x11/x11_hotplug_event_handler.cc b/ui/events/platform/x11/x11_hotplug_event_handler.cc |
| index 78ecf3554608f37a5385f6491f3bad718b3912a7..4e546f9ebd43405892a0d3b871422dfc081f9bbd 100644 |
| --- a/ui/events/platform/x11/x11_hotplug_event_handler.cc |
| +++ b/ui/events/platform/x11/x11_hotplug_event_handler.cc |
| @@ -340,6 +340,8 @@ void X11HotplugEventHandler::OnHotplugEvent() { |
| UiCallbacks callbacks; |
| callbacks.keyboard_callback = base::Bind(&OnKeyboardDevices); |
| callbacks.touchscreen_callback = base::Bind(&OnTouchscreenDevices); |
| + // TODO(pkotwicz): Requery the lists of mice and touchpads and send the new |
| + // lists to DeviceHotplugEventObserver. |
|
sadrul
2015/02/03 15:29:04
Would we need to requery the list here? Presumably
sadrul
2015/02/03 17:33:04
ping
pkotwicz
2015/02/03 18:09:33
I have updated the comment so that it is clearer.
|
| // Parsing the device information may block, so delegate the operation to a |
| // worker thread. Once the device information is extracted the parsed devices |