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

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

Issue 2582823002: WIP: Surface Synchronization System
Patch Set: Only create ClientSurfaceEmbedder if window is visible. Trash it otherwise. Created 3 years, 11 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
Index: services/ui/ws/display.h
diff --git a/services/ui/ws/display.h b/services/ui/ws/display.h
index 679a338fab81a596d4d1ccd6e1576c685c2ea6aa..17c34cc84d62a895d3e1acf177c5491d222a9096 100644
--- a/services/ui/ws/display.h
+++ b/services/ui/ws/display.h
@@ -14,6 +14,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
+#include "cc/surfaces/surface_id_allocator.h"
#include "services/ui/common/types.h"
#include "services/ui/public/interfaces/window_manager_constants.mojom.h"
#include "services/ui/public/interfaces/window_tree_host.mojom.h"
@@ -202,6 +203,8 @@ class Display : public PlatformDisplayDelegate,
ServerWindowTracker activation_parents_;
+ cc::SurfaceIdAllocator allocator_;
+
WindowManagerDisplayRootMap window_manager_display_root_map_;
DISALLOW_COPY_AND_ASSIGN(Display);

Powered by Google App Engine
This is Rietveld 408576698