Index: components/view_manager/public/cpp/view_manager.h |
diff --git a/components/view_manager/public/cpp/view_manager.h b/components/view_manager/public/cpp/view_manager.h |
index 7e5394fd7763e517e535385af1c8dc702b861744..0194d9ca17ca992352c444702c36645db2589913 100644 |
--- a/components/view_manager/public/cpp/view_manager.h |
+++ b/components/view_manager/public/cpp/view_manager.h |
@@ -8,7 +8,7 @@ |
#include <string> |
#include "components/view_manager/public/cpp/types.h" |
-#include "components/view_manager/public/interfaces/view_manager.mojom.h" |
+#include "components/view_manager/public/interfaces/view_tree.mojom.h" |
#include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" |
namespace mojo { |
@@ -25,7 +25,7 @@ class ViewManager { |
// last root is destroyed or the connection to the service is broken. |
static ViewManager* Create( |
ViewManagerDelegate* delegate, |
- InterfaceRequest<ViewManagerClient> request); |
+ InterfaceRequest<ViewTreeClient> request); |
// Returns the root of this connection. |
virtual View* GetRoot() = 0; |
@@ -41,7 +41,7 @@ class ViewManager { |
// are initially hidden, use SetVisible(true) to show. |
virtual View* CreateView() = 0; |
- // Set view_manager.mojom for details. |
+ // Set view_tree.mojom for details. |
virtual void SetEmbedRoot() = 0; |
}; |