| Index: services/ui/ws/window_server.h
|
| diff --git a/services/ui/ws/window_server.h b/services/ui/ws/window_server.h
|
| index 97be57b3bbd8b1db0280a073dfcfd4604c53e7ed..fd41f8c69b452c93c8d3f93d984fdb8ee5404bd3 100644
|
| --- a/services/ui/ws/window_server.h
|
| +++ b/services/ui/ws/window_server.h
|
| @@ -27,6 +27,7 @@
|
| #include "services/ui/ws/user_id_tracker.h"
|
| #include "services/ui/ws/user_id_tracker_observer.h"
|
| #include "services/ui/ws/window_manager_window_tree_factory_set.h"
|
| +#include "services/ui/ws/window_tree_host_factory.h"
|
|
|
| namespace ui {
|
| namespace ws {
|
| @@ -136,6 +137,16 @@ class WindowServer : public ServerWindowDelegate,
|
| return &window_manager_window_tree_factory_set_;
|
| }
|
|
|
| + WindowTreeHostFactory* window_tree_host_factory() {
|
| + return window_tree_host_factory_.get();
|
| + }
|
| +
|
| + void set_window_tree_host_factory(
|
| + std::unique_ptr<WindowTreeHostFactory> factory) {
|
| + DCHECK(factory);
|
| + window_tree_host_factory_ = std::move(factory);
|
| + }
|
| +
|
| // Sets focus to |window|. Returns true if |window| already has focus, or
|
| // focus was successfully changed. Returns |false| if |window| is not a valid
|
| // window to receive focus.
|
| @@ -372,6 +383,8 @@ class WindowServer : public ServerWindowDelegate,
|
|
|
| WindowManagerWindowTreeFactorySet window_manager_window_tree_factory_set_;
|
|
|
| + std::unique_ptr<WindowTreeHostFactory> window_tree_host_factory_;
|
| +
|
| cc::SurfaceId root_surface_id_;
|
|
|
| mojo::Binding<cc::mojom::DisplayCompositorClient>
|
|
|