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

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

Issue 2012343002: Converts overview to use common ash types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback 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.h » ('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 9b01ef22aaaa1321fd29a21a1eeae9d6c3078555..48ffea00ee474bc0f451a557035189ee95680394 100644
--- a/mash/wm/bridge/wm_root_window_controller_mus.cc
+++ b/mash/wm/bridge/wm_root_window_controller_mus.cc
@@ -112,7 +112,8 @@ void WmRootWindowControllerMus::ConfigureWidgetInitParamsForContainer(
DCHECK(init_params->parent_mus);
mus::Window* new_window =
root_window_controller_->root()->connection()->NewWindow();
- WmWindowMus::Get(new_window)->set_widget(widget);
+ WmWindowMus::Get(new_window)
+ ->set_widget(widget, WmWindowMus::WidgetCreationType::INTERNAL);
init_params->native_widget = new views::NativeWidgetMus(
widget, root_window_controller_->GetConnector(), new_window,
mus::mojom::SurfaceType::DEFAULT);
« no previous file with comments | « mash/wm/bridge/wm_globals_mus.cc ('k') | mash/wm/bridge/wm_window_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698