Index: ui/views/widget/desktop_aura/desktop_root_window_host_x11.h |
diff --git a/ui/views/widget/desktop_aura/desktop_root_window_host_x11.h b/ui/views/widget/desktop_aura/desktop_root_window_host_x11.h |
index 9f583ed9bf87406eff0dacb88c08196c21fffdb7..c425746bfbf2319bfae63d9929da34a90dff2af8 100644 |
--- a/ui/views/widget/desktop_aura/desktop_root_window_host_x11.h |
+++ b/ui/views/widget/desktop_aura/desktop_root_window_host_x11.h |
@@ -37,6 +37,7 @@ class X11WindowEventFilter; |
class VIEWS_EXPORT DesktopWindowTreeHostX11 : |
public DesktopWindowTreeHost, |
public aura::WindowTreeHost, |
+ public ui::EventSource, |
public base::MessagePumpDispatcher { |
public: |
DesktopWindowTreeHostX11( |
@@ -153,6 +154,9 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11 : |
virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE; |
virtual void PrepareForShutdown() OVERRIDE; |
+ // Overridden frm ui::EventSource |
+ virtual ui::EventProcessor* GetEventProcessor() OVERRIDE; |
+ |
private: |
// Initializes our X11 surface to draw on. This method performs all |
// initialization related to talking to the X11 server. |