namespace ui {
-class HotplugEventHandlerX11;
+class X11HotplugEventHandler;
// A PlatformEventSource implementation for reading events from X11 server and
// dispatching the events to the appropriate dispatcher.
class EVENTS_EXPORT X11EventSource : public PlatformEventSource {
public:
explicit X11EventSource(XDisplay* display);
- virtual ~X11EventSource();
+ ~X11EventSource() override;
static X11EventSource* GetInstance();
private:
// PlatformEventSource:
- virtual uint32_t DispatchEvent(XEvent* xevent) OVERRIDE;
- virtual void StopCurrentEventStream() OVERRIDE;
+ uint32_t DispatchEvent(XEvent* xevent) override;
+ void StopCurrentEventStream() override;
// The connection to the X11 server used to receive the events.
XDisplay* display_;
// available events.
bool continue_stream_;
- scoped_ptr<HotplugEventHandlerX11> hotplug_event_handler_;
+ scoped_ptr<X11HotplugEventHandler> hotplug_event_handler_;
DISALLOW_COPY_AND_ASSIGN(X11EventSource);
};