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

Unified Diff: mojo/services/view_manager/window_tree_host_impl.h

Issue 474883003: Move focus from the view manager to the window manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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
Index: mojo/services/view_manager/window_tree_host_impl.h
diff --git a/mojo/services/view_manager/window_tree_host_impl.h b/mojo/services/view_manager/window_tree_host_impl.h
index bbbd4b17827843add5810162db241db024fff9b8..877b81868e3e8fdbcf86ba50a8c00b732db2b005 100644
--- a/mojo/services/view_manager/window_tree_host_impl.h
+++ b/mojo/services/view_manager/window_tree_host_impl.h
@@ -28,7 +28,8 @@ class WindowTreeHostImpl : public aura::WindowTreeHost,
NativeViewportPtr viewport,
const gfx::Rect& bounds,
const Callback<void()>& compositor_created_callback,
- const Callback<void()>& native_viewport_closed_callback);
+ const Callback<void()>& native_viewport_closed_callback,
+ const Callback<void(EventPtr)>& event_received_callback);
virtual ~WindowTreeHostImpl();
gfx::Rect bounds() const { return bounds_; }
@@ -64,6 +65,7 @@ class WindowTreeHostImpl : public aura::WindowTreeHost,
NativeViewportPtr native_viewport_;
Callback<void()> compositor_created_callback_;
Callback<void()> native_viewport_closed_callback_;
+ Callback<void(EventPtr)> event_received_callback_;
gfx::Rect bounds_;
« no previous file with comments | « mojo/services/view_manager/window_manager_access_policy.cc ('k') | mojo/services/view_manager/window_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698