Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

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

Issue 2829733002: mus: Changes SetDisplayRoot() to create actual display (Closed)
Patch Set: screenmanagerforwarding only ozone Created 3 years, 8 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_manager.h
diff --git a/services/ui/ws/display_manager.h b/services/ui/ws/display_manager.h
index 3d2d37000605088e81be3f0d074b89951cead4f9..4fe8c9cad855b32a89073f757229d42343ea179f 100644
--- a/services/ui/ws/display_manager.h
+++ b/services/ui/ws/display_manager.h
@@ -47,6 +47,9 @@ class DisplayManager : public UserIdTrackerObserver,
// Adds/removes a Display. DisplayManager owns the Displays.
// TODO(sky): make add take a scoped_ptr.
void AddDisplay(Display* display);
+ // Called when the window manager explicitly adds a new display.
+ void AddDisplayForWindowManager(const display::Display& display,
+ const display::ViewportMetrics& metrics);
void DestroyDisplay(Display* display);
void DestroyAllDisplays();
const std::set<Display*>& displays() { return displays_; }

Powered by Google App Engine
This is Rietveld 408576698