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

Unified Diff: services/ui/ws/window_manager_display_root.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/window_manager_display_root.h
diff --git a/services/ui/ws/window_manager_display_root.h b/services/ui/ws/window_manager_display_root.h
index 2ba39a08af8346ab6336ae2a35db6c5fe2e379db..daaa8a285704bee8360a16f2a3665387af6749a1 100644
--- a/services/ui/ws/window_manager_display_root.h
+++ b/services/ui/ws/window_manager_display_root.h
@@ -10,6 +10,7 @@
#include <memory>
#include "base/macros.h"
+#include "cc/surfaces/surface_id_allocator.h"
namespace ui {
namespace ws {
@@ -49,6 +50,7 @@ class WindowManagerDisplayRoot {
// the root ServerWindow of the Display.
std::unique_ptr<ServerWindow> root_;
WindowManagerState* window_manager_state_ = nullptr;
+ cc::SurfaceIdAllocator allocator_;
DISALLOW_COPY_AND_ASSIGN(WindowManagerDisplayRoot);
};

Powered by Google App Engine
This is Rietveld 408576698