diff options
Diffstat (limited to 'mojo/services/public/cpp/view_manager/view_manager.h')
-rw-r--r-- | mojo/services/public/cpp/view_manager/view_manager.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mojo/services/public/cpp/view_manager/view_manager.h b/mojo/services/public/cpp/view_manager/view_manager.h index 9b46387..3c55e307 100644 --- a/mojo/services/public/cpp/view_manager/view_manager.h +++ b/mojo/services/public/cpp/view_manager/view_manager.h @@ -12,7 +12,7 @@ #include "mojo/services/public/interfaces/input_events/input_events.mojom.h" namespace mojo { -class Application; +class ApplicationConnection; namespace view_manager { class Node; @@ -23,7 +23,8 @@ class ViewManagerDelegate; class ViewManager { public: // Delegate is owned by the caller. - static void Create(Application* application, ViewManagerDelegate* delegate); + static void ConfigureIncomingConnection(ApplicationConnection* connection, + ViewManagerDelegate* delegate); // Sets the event dispatcher. Can only be called by the app rendering to the // root Node of the hierarchy. |