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

Unified Diff: ui/views/test/native_widget_factory_aura_mus.cc

Issue 2514243002: Propagates window type properties during aura-mus window creation (Closed)
Patch Set: merge 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
« no previous file with comments | « ui/views/mus/mus_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/native_widget_factory_aura_mus.cc
diff --git a/ui/views/test/native_widget_factory_aura_mus.cc b/ui/views/test/native_widget_factory_aura_mus.cc
index d87b7af1984e6bbe61e5e7375b2b6a20bbcf7e44..644dffae71c2139e0ac9cc64a75990569cfbed69 100644
--- a/ui/views/test/native_widget_factory_aura_mus.cc
+++ b/ui/views/test/native_widget_factory_aura_mus.cc
@@ -28,9 +28,11 @@ NativeWidget* CreatePlatformNativeWidgetImplAuraMus(
DesktopNativeWidgetAura* desktop_native_widget_aura =
new TestPlatformNativeWidget<DesktopNativeWidgetAura>(
widget, type == kStubCapture, destroyed);
+ std::map<std::string, std::vector<uint8_t>> mus_properties =
+ MusClient::ConfigurePropertiesFromParams(init_params);
desktop_native_widget_aura->SetDesktopWindowTreeHost(
base::MakeUnique<DesktopWindowTreeHostMus>(
- widget, desktop_native_widget_aura, init_params));
+ widget, desktop_native_widget_aura, &mus_properties));
return desktop_native_widget_aura;
}
« no previous file with comments | « ui/views/mus/mus_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698