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

Unified Diff: components/view_manager/connection_manager.h

Issue 1164553004: Revert of Mandoline: Remove native_viewport.mojom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 | « components/html_viewer/html_document.cc ('k') | components/view_manager/connection_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/connection_manager.h
diff --git a/components/view_manager/connection_manager.h b/components/view_manager/connection_manager.h
index d6834289320ea003e62626d2060fa18600394c03..ee3cac17627dd40c1a34f6ddf12dfafe04205a77 100644
--- a/components/view_manager/connection_manager.h
+++ b/components/view_manager/connection_manager.h
@@ -15,6 +15,7 @@
#include "components/view_manager/event_dispatcher.h"
#include "components/view_manager/focus_controller_delegate.h"
#include "components/view_manager/ids.h"
+#include "components/view_manager/public/interfaces/native_viewport.mojom.h"
#include "components/view_manager/public/interfaces/view_manager.mojom.h"
#include "components/view_manager/public/interfaces/view_manager_root.mojom.h"
#include "components/view_manager/server_view_delegate.h"
@@ -252,10 +253,6 @@
// Set of ViewManagerServiceImpls.
ConnectionMap connection_map_;
- // DisplayManager holds a raw pointer to EventDispatcher and so it must be
- // destroyed after DisplayManager (and thus created before).
- EventDispatcher event_dispatcher_;
-
scoped_ptr<DisplayManager> display_manager_;
scoped_ptr<ServerView> root_;
@@ -271,6 +268,10 @@
AnimationRunner animation_runner_;
+ EventDispatcher event_dispatcher_;
+
+ mojo::Binding<mojo::NativeViewportEventDispatcher> event_dispatcher_binding_;
+
scoped_ptr<FocusController> focus_controller_;
mojo::ViewManagerRootClientPtr view_manager_root_client_;
« no previous file with comments | « components/html_viewer/html_document.cc ('k') | components/view_manager/connection_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698