| Index: components/mus/public/cpp/view_tree_connection.h
|
| diff --git a/components/view_manager/public/cpp/view_tree_connection.h b/components/mus/public/cpp/view_tree_connection.h
|
| similarity index 74%
|
| rename from components/view_manager/public/cpp/view_tree_connection.h
|
| rename to components/mus/public/cpp/view_tree_connection.h
|
| index 31324349dd8359e5b0eb27cda1cac0ef3639edab..36b8588f43c3e2f08f4ca37564f004f2b62e34e1 100644
|
| --- a/components/view_manager/public/cpp/view_tree_connection.h
|
| +++ b/components/mus/public/cpp/view_tree_connection.h
|
| @@ -2,13 +2,13 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_TREE_CONNECTION_H_
|
| -#define COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_TREE_CONNECTION_H_
|
| +#ifndef COMPONENTS_MUS_PUBLIC_CPP_VIEW_TREE_CONNECTION_H_
|
| +#define COMPONENTS_MUS_PUBLIC_CPP_VIEW_TREE_CONNECTION_H_
|
|
|
| #include <string>
|
|
|
| -#include "components/view_manager/public/cpp/types.h"
|
| -#include "components/view_manager/public/interfaces/view_tree.mojom.h"
|
| +#include "components/mus/public/cpp/types.h"
|
| +#include "components/mus/public/interfaces/view_tree.mojom.h"
|
| #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h"
|
|
|
| namespace mojo {
|
| @@ -23,9 +23,8 @@ class ViewTreeConnection {
|
|
|
| // The returned ViewTreeConnection instance owns itself, and is deleted when
|
| // the last root is destroyed or the connection to the service is broken.
|
| - static ViewTreeConnection* Create(
|
| - ViewTreeDelegate* delegate,
|
| - InterfaceRequest<ViewTreeClient> request);
|
| + static ViewTreeConnection* Create(ViewTreeDelegate* delegate,
|
| + InterfaceRequest<ViewTreeClient> request);
|
|
|
| // Returns the root of this connection.
|
| virtual View* GetRoot() = 0;
|
| @@ -50,4 +49,4 @@ class ViewTreeConnection {
|
|
|
| } // namespace mojo
|
|
|
| -#endif // COMPONENTS_VIEW_MANAGER_PUBLIC_CPP_VIEW_TREE_CONNECTION_H_
|
| +#endif // COMPONENTS_MUS_PUBLIC_CPP_VIEW_TREE_CONNECTION_H_
|
|
|