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

Unified Diff: mojo/examples/aura_demo/root_window_host_mojo.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
« no previous file with comments | « content/shell/browser/shell_platform_data_aura.cc ('k') | mojo/examples/aura_demo/root_window_host_mojo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/aura_demo/root_window_host_mojo.h
diff --git a/mojo/examples/aura_demo/root_window_host_mojo.h b/mojo/examples/aura_demo/root_window_host_mojo.h
index d75bfde66892b171ea67c19dc1570e6ebb7ab4f2..6333a54e36a0f16655e37c6168963e4b5bd4b5b0 100644
--- a/mojo/examples/aura_demo/root_window_host_mojo.h
+++ b/mojo/examples/aura_demo/root_window_host_mojo.h
@@ -9,6 +9,7 @@
#include "mojo/public/bindings/remote_ptr.h"
#include "mojom/native_viewport.h"
#include "ui/aura/window_tree_host.h"
+#include "ui/events/event_source.h"
#include "ui/gfx/rect.h"
namespace ui {
@@ -21,6 +22,7 @@ namespace examples {
class GLES2ClientImpl;
class WindowTreeHostMojo : public aura::WindowTreeHost,
+ public ui::EventSource,
public NativeViewportClient {
public:
WindowTreeHostMojo(ScopedMessagePipeHandle viewport_handle,
@@ -55,6 +57,9 @@ class WindowTreeHostMojo : public aura::WindowTreeHost,
virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
virtual void PrepareForShutdown() OVERRIDE;
+ // ui::EventSource:
+ virtual ui::EventProcessor* GetEventProcessor() OVERRIDE;
+
// Overridden from NativeViewportClient:
virtual void OnCreated() MOJO_OVERRIDE;
virtual void OnDestroyed() OVERRIDE;
« no previous file with comments | « content/shell/browser/shell_platform_data_aura.cc ('k') | mojo/examples/aura_demo/root_window_host_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698