| Index: services/ui/public/cpp/window_tree_host_factory.h
|
| diff --git a/services/ui/public/cpp/window_tree_host_factory.h b/services/ui/public/cpp/window_tree_host_factory.h
|
| index 2f638865b8359fb7fd4cf3e241309767ed0f0f51..e21f39c080fcc33042bb12caeefbd70926875e9d 100644
|
| --- a/services/ui/public/cpp/window_tree_host_factory.h
|
| +++ b/services/ui/public/cpp/window_tree_host_factory.h
|
| @@ -18,19 +18,22 @@ class Connector;
|
| namespace ui {
|
|
|
| class WindowManagerDelegate;
|
| +class WindowTreeClient;
|
| class WindowTreeClientDelegate;
|
|
|
| // The following create a new window tree host. Supply a |factory| if you have
|
| // already connected to mus, otherwise supply |shell|, which contacts mus and
|
| // obtains a WindowTreeHostFactory.
|
| -void CreateWindowTreeHost(mojom::WindowTreeHostFactory* factory,
|
| - WindowTreeClientDelegate* delegate,
|
| - mojom::WindowTreeHostPtr* host,
|
| - WindowManagerDelegate* window_manager_delegate);
|
| -void CreateWindowTreeHost(shell::Connector* connector,
|
| - WindowTreeClientDelegate* delegate,
|
| - mojom::WindowTreeHostPtr* host,
|
| - WindowManagerDelegate* window_manager_delegate);
|
| +std::unique_ptr<WindowTreeClient> CreateWindowTreeHost(
|
| + mojom::WindowTreeHostFactory* factory,
|
| + WindowTreeClientDelegate* delegate,
|
| + mojom::WindowTreeHostPtr* host,
|
| + WindowManagerDelegate* window_manager_delegate);
|
| +std::unique_ptr<WindowTreeClient> CreateWindowTreeHost(
|
| + shell::Connector* connector,
|
| + WindowTreeClientDelegate* delegate,
|
| + mojom::WindowTreeHostPtr* host,
|
| + WindowManagerDelegate* window_manager_delegate);
|
|
|
| } // namespace ui
|
|
|
|
|