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

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

Issue 2829733002: mus: Changes SetDisplayRoot() to create actual display (Closed)
Patch Set: unnecessary get 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
« no previous file with comments | « services/ui/ws/display_manager.h ('k') | services/ui/ws/test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/display_manager.cc
diff --git a/services/ui/ws/display_manager.cc b/services/ui/ws/display_manager.cc
index 2bde1589308aa5deba4d51f0c43b8ea364ac6947..286993ece49f719e85e779983db9d3e10b488f2e 100644
--- a/services/ui/ws/display_manager.cc
+++ b/services/ui/ws/display_manager.cc
@@ -77,6 +77,12 @@ void DisplayManager::AddDisplay(Display* display) {
pending_displays_.insert(display);
}
+void DisplayManager::AddDisplayForWindowManager(
+ const display::Display& display,
+ const display::ViewportMetrics& metrics) {
+ OnDisplayAdded(display, metrics);
+}
+
void DisplayManager::DestroyDisplay(Display* display) {
if (pending_displays_.count(display)) {
pending_displays_.erase(display);
« no previous file with comments | « services/ui/ws/display_manager.h ('k') | services/ui/ws/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698