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

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

Issue 2712203002: c++ / mojo changes for 'external window mode'
Patch Set: rebased Created 3 years, 9 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/BUILD.gn ('k') | services/ui/ws/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/display.h
diff --git a/services/ui/ws/display.h b/services/ui/ws/display.h
index f4b244d4f7fbc2987bd788457376e95a80926c9e..b0e170386efd798b1fbdb37f1667be738e0bc8ec 100644
--- a/services/ui/ws/display.h
+++ b/services/ui/ws/display.h
@@ -162,7 +162,11 @@ class Display : public PlatformDisplayDelegate,
using WindowManagerDisplayRootMap =
std::map<UserId, WindowManagerDisplayRoot*>;
- // Inits the necessary state once the display is ready.
+ // Inits the display root once the display is ready in
+ // 'external window mode'.
+ void InitDisplayRoot();
+
+ // Inits the necessary WindowManager state once the display is ready.
void InitWindowManagerDisplayRoots();
// Creates the set of WindowManagerDisplayRoots from the
@@ -219,6 +223,8 @@ class Display : public PlatformDisplayDelegate,
WindowManagerDisplayRootMap window_manager_display_root_map_;
+ std::unique_ptr<WindowManagerDisplayRoot> external_mode_root_;
+
DISALLOW_COPY_AND_ASSIGN(Display);
};
« no previous file with comments | « services/ui/ws/BUILD.gn ('k') | services/ui/ws/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698