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

Unified Diff: mash/wm/bridge/wm_root_window_controller_mus.cc

Issue 2018823002: Eliminate WindowTreeConnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@connection
Patch Set: . Created 4 years, 7 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 | « mash/wm/bridge/wm_globals_mus.cc ('k') | mash/wm/bridge/wm_window_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/bridge/wm_root_window_controller_mus.cc
diff --git a/mash/wm/bridge/wm_root_window_controller_mus.cc b/mash/wm/bridge/wm_root_window_controller_mus.cc
index 48ffea00ee474bc0f451a557035189ee95680394..63491e373b19387d0579fcffc5c8cb9588f9b2df 100644
--- a/mash/wm/bridge/wm_root_window_controller_mus.cc
+++ b/mash/wm/bridge/wm_root_window_controller_mus.cc
@@ -7,7 +7,7 @@
#include "ash/wm/common/wm_root_window_controller_observer.h"
#include "components/mus/public/cpp/window.h"
#include "components/mus/public/cpp/window_property.h"
-#include "components/mus/public/cpp/window_tree_connection.h"
+#include "components/mus/public/cpp/window_tree_client.h"
#include "mash/wm/bridge/wm_globals_mus.h"
#include "mash/wm/bridge/wm_shelf_mus.h"
#include "mash/wm/bridge/wm_window_mus.h"
@@ -111,7 +111,7 @@ void WmRootWindowControllerMus::ConfigureWidgetInitParamsForContainer(
->GetChildByShellWindowId(shell_container_id));
DCHECK(init_params->parent_mus);
mus::Window* new_window =
- root_window_controller_->root()->connection()->NewWindow();
+ root_window_controller_->root()->window_tree()->NewWindow();
WmWindowMus::Get(new_window)
->set_widget(widget, WmWindowMus::WidgetCreationType::INTERNAL);
init_params->native_widget = new views::NativeWidgetMus(
« no previous file with comments | « mash/wm/bridge/wm_globals_mus.cc ('k') | mash/wm/bridge/wm_window_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698