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

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

Issue 2514243002: Propagates window type properties during aura-mus window creation (Closed)
Patch Set: return 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 a27957a93851159348d63d83487b1910006a8ba3..db2d2c7ac0b6f574010ffe18370c2767b6083ea4 100644
--- a/ui/views/mus/desktop_window_tree_host_mus.cc
+++ b/ui/views/mus/desktop_window_tree_host_mus.cc
@@ -25,9 +25,9 @@ namespace views {
DesktopWindowTreeHostMus::DesktopWindowTreeHostMus(
internal::NativeWidgetDelegate* native_widget_delegate,
DesktopNativeWidgetAura* desktop_native_widget_aura,
- const Widget::InitParams& init_params)
+ const std::map<std::string, std::vector<uint8_t>>* mus_properties)
: aura::WindowTreeHostMus(MusClient::Get()->window_tree_client(),
- &init_params.mus_properties),
+ 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