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

Unified Diff: ui/views/mus/desktop_window_tree_host_mus.cc

Issue 2495423005: Enables passing initial properties to top level window creation (Closed)
Patch Set: cleanup Created 4 years, 1 month 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: ui/views/mus/desktop_window_tree_host_mus.cc
diff --git a/ui/views/mus/desktop_window_tree_host_mus.cc b/ui/views/mus/desktop_window_tree_host_mus.cc
index 4c95eff72e9c049ee2146bb04a7af89e461a8067..7df2a1550603fc6b7a0de85fa15aeca86ea33ea1 100644
--- a/ui/views/mus/desktop_window_tree_host_mus.cc
+++ b/ui/views/mus/desktop_window_tree_host_mus.cc
@@ -24,8 +24,10 @@ namespace views {
DesktopWindowTreeHostMus::DesktopWindowTreeHostMus(
internal::NativeWidgetDelegate* native_widget_delegate,
- DesktopNativeWidgetAura* desktop_native_widget_aura)
- : aura::WindowTreeHostMus(MusClient::Get()->window_tree_client()),
+ DesktopNativeWidgetAura* desktop_native_widget_aura,
+ const Widget::InitParams& init_params)
+ : aura::WindowTreeHostMus(MusClient::Get()->window_tree_client(),
+ &init_params.mus_properties),
native_widget_delegate_(native_widget_delegate),
desktop_native_widget_aura_(desktop_native_widget_aura),
fullscreen_restore_state_(ui::SHOW_STATE_DEFAULT),

Powered by Google App Engine
This is Rietveld 408576698