| Index: services/ui/ws/window_server.h
|
| diff --git a/services/ui/ws/window_server.h b/services/ui/ws/window_server.h
|
| index f79cf963966e600304070af38dffa3e166c6339e..f072f7739eb689a3e61729e98047172a082355a1 100644
|
| --- a/services/ui/ws/window_server.h
|
| +++ b/services/ui/ws/window_server.h
|
| @@ -42,6 +42,8 @@ class WindowServerDelegate;
|
| class WindowTree;
|
| class WindowTreeBinding;
|
|
|
| +enum class DisplayCreationConfig;
|
| +
|
| // WindowServer manages the set of clients of the window server (all the
|
| // WindowTrees) as well as providing the root of the hierarchy.
|
| class WindowServer : public ServerWindowDelegate,
|
| @@ -66,6 +68,11 @@ class WindowServer : public ServerWindowDelegate,
|
|
|
| GpuHost* gpu_host() { return gpu_host_.get(); }
|
|
|
| + void SetDisplayCreationConfig(DisplayCreationConfig config);
|
| + DisplayCreationConfig display_creation_config() const {
|
| + return display_creation_config_;
|
| + }
|
| +
|
| // Creates a new ServerWindow. The return value is owned by the caller, but
|
| // must be destroyed before WindowServer.
|
| ServerWindow* CreateServerWindow(
|
| @@ -388,6 +395,8 @@ class WindowServer : public ServerWindowDelegate,
|
| frame_sink_manager_client_binding_;
|
| cc::mojom::FrameSinkManagerPtr frame_sink_manager_;
|
|
|
| + DisplayCreationConfig display_creation_config_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(WindowServer);
|
| };
|
|
|
|
|