Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: services/ui/ws/window_server.h

Issue 2904993003: chromeos: changes how DisplayManagerObservers are notified (Closed)
Patch Set: cleanup Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/ws/window_manager_window_tree_factory.cc ('k') | services/ui/ws/window_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « services/ui/ws/window_manager_window_tree_factory.cc ('k') | services/ui/ws/window_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698