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

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

Issue 1287103004: Sync ui/events to chromium @ https://codereview.chromium.org/1210203002 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 4 months 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/touch_factory_x11.cc ('k') | ui/events/platform/x11/x11_event_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/platform/x11/x11_event_source.h
diff --git a/ui/events/platform/x11/x11_event_source.h b/ui/events/platform/x11/x11_event_source.h
index 6501eb780ba9fc4aa5d04f8b271b4cf3cdbb708f..d91fefe149b3da8bbd02adfa676cf128db8e21ae 100644
--- a/ui/events/platform/x11/x11_event_source.h
+++ b/ui/events/platform/x11/x11_event_source.h
@@ -17,7 +17,7 @@ typedef unsigned long XID;
namespace ui {
-class HotplugEventHandlerX11;
+class X11HotplugEventHandler;
// A PlatformEventSource implementation for reading events from X11 server and
// dispatching the events to the appropriate dispatcher.
@@ -50,6 +50,7 @@ class EVENTS_EXPORT X11EventSource : public PlatformEventSource {
// PlatformEventSource:
uint32_t DispatchEvent(XEvent* xevent) override;
void StopCurrentEventStream() override;
+ void OnDispatcherListChanged() override;
// The connection to the X11 server used to receive the events.
XDisplay* display_;
@@ -58,7 +59,7 @@ class EVENTS_EXPORT X11EventSource : public PlatformEventSource {
// available events.
bool continue_stream_;
- scoped_ptr<HotplugEventHandlerX11> hotplug_event_handler_;
+ scoped_ptr<X11HotplugEventHandler> hotplug_event_handler_;
DISALLOW_COPY_AND_ASSIGN(X11EventSource);
};
« no previous file with comments | « ui/events/platform/x11/touch_factory_x11.cc ('k') | ui/events/platform/x11/x11_event_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698