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

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: Add null 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
« no previous file with comments | « ui/events/platform/x11/x11_event_source.cc ('k') | ui/events/platform/x11/x11_hotplug_event_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..16d3b038fba8361f80452b1cef1a714e54cb75bd 100644
--- a/ui/events/platform/x11/x11_hotplug_event_handler.h
+++ b/ui/events/platform/x11/x11_hotplug_event_handler.h
@@ -6,6 +6,7 @@
#define UI_EVENTS_PLATFORM_X11_X11_HOTPLUG_EVENT_HANDLER_H_
#include "ui/events/devices/x11/device_list_cache_x11.h"
+#include "ui/gfx/x/x11_atom_cache.h"
namespace ui {
@@ -15,17 +16,14 @@ 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.
+ X11AtomCache atom_cache_;
DISALLOW_COPY_AND_ASSIGN(X11HotplugEventHandler);
};
« no previous file with comments | « ui/events/platform/x11/x11_event_source.cc ('k') | ui/events/platform/x11/x11_hotplug_event_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698