Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(578)

Unified Diff: ui/events/platform/x11/x11_hotplug_event_handler.h

Issue 688163004: Move X11 device processing to worker threads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-blocking-touchscreen
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/events/platform/x11/x11_hotplug_event_handler.h
diff --git a/ui/events/platform/x11/x11_hotplug_event_handler.h b/ui/events/platform/x11/x11_hotplug_event_handler.h
index 44d9403d65982bb63648713aa841355d2e0e3e0b..2df871f4d2b2bed94f12609759264234dfd64b6f 100644
--- a/ui/events/platform/x11/x11_hotplug_event_handler.h
+++ b/ui/events/platform/x11/x11_hotplug_event_handler.h
@@ -15,18 +15,13 @@ class DeviceHotplugEventObserver;
// observer.
class X11HotplugEventHandler {
public:
- explicit X11HotplugEventHandler(DeviceHotplugEventObserver* delegate);
+ X11HotplugEventHandler();
~X11HotplugEventHandler();
// Called on an X11 hotplug event.
void OnHotplugEvent();
private:
- void HandleTouchscreenDevices(const XIDeviceList& device_list);
- void HandleKeyboardDevices(const XIDeviceList& device_list);
-
- DeviceHotplugEventObserver* delegate_; // Not owned.
-
DISALLOW_COPY_AND_ASSIGN(X11HotplugEventHandler);
};

Powered by Google App Engine
This is Rietveld 408576698