| Index: components/mus/public/cpp/window_tree_host_factory.h
|
| diff --git a/components/mus/public/cpp/window_tree_host_factory.h b/components/mus/public/cpp/window_tree_host_factory.h
|
| index 4bccf1af6accc04ee28c5f152543ad00ab7c4a43..e94f0bd9e96dcccc9a3f97f1c8e9a8f9b6714b24 100644
|
| --- a/components/mus/public/cpp/window_tree_host_factory.h
|
| +++ b/components/mus/public/cpp/window_tree_host_factory.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "components/mus/public/interfaces/window_manager.mojom.h"
|
| #include "components/mus/public/interfaces/window_tree.mojom.h"
|
| #include "components/mus/public/interfaces/window_tree_host.mojom.h"
|
| #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
|
| @@ -24,13 +25,15 @@ class WindowTreeDelegate;
|
| void CreateWindowTreeHost(mojom::WindowTreeHostFactory* factory,
|
| mojom::WindowTreeHostClientPtr host_client,
|
| WindowTreeDelegate* delegate,
|
| - mojom::WindowTreeHostPtr* host);
|
| + mojom::WindowTreeHostPtr* host,
|
| + mojom::WindowManagerPtr window_manager);
|
|
|
| // Creates a single host with no client by connecting to the window manager
|
| // application. Useful only for tests and trivial UIs.
|
| void CreateSingleWindowTreeHost(mojo::ApplicationImpl* app,
|
| WindowTreeDelegate* delegate,
|
| - mojom::WindowTreeHostPtr* host);
|
| + mojom::WindowTreeHostPtr* host,
|
| + mojom::WindowManagerPtr window_manager);
|
|
|
| } // namespace mus
|
|
|
|
|