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

Unified Diff: ui/views/widget/desktop_aura/desktop_root_window_host_x11.h

Issue 147203004: aura: Remove event-dispatch methods from WindowTreeHostDelegate interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win Created 6 years, 11 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
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.

Powered by Google App Engine
This is Rietveld 408576698