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

Unified Diff: services/ui/ws/

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/
diff --git a/services/ui/ws/ b/services/ui/ws/
index 0f9589b8176fa4dd47c6dd47b43877c19845f420..89711f2de86f19de85353f30fde2af3c09f8d1d5 100644
--- a/services/ui/ws/
+++ b/services/ui/ws/
@@ -7,6 +7,7 @@
#include "base/bind.h"
#include "services/ui/ws/window_manager_window_tree_factory_set.h"
#include "services/ui/ws/window_server.h"
+#include "services/ui/ws/window_server_delegate.h"
#include "services/ui/ws/window_tree.h"
namespace ui {
@@ -38,6 +39,10 @@ void WindowManagerWindowTreeFactory::CreateWindowTree(
if (binding_.is_bound())
+ window_manager_window_tree_factory_set_->window_server()
+ ->delegate()
+ ->OnWillCreateTreeForWindowManager(automatically_create_display_roots);
kylechar 2017/04/19 18:06:08 Will this work with multiple connected WMs? I know
sky 2017/04/19 19:30:03 You are correct it would be problematic to have mu
kylechar 2017/04/19 19:47:09 Ah, right it ignores it. Gotcha.
user_id_, std::move(window_tree_request), std::move(window_tree_client),

Powered by Google App Engine
This is Rietveld 408576698