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

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

Issue 2919523004: Surface synchronization: Don't gutter translucent windows (Closed)
Patch Set: Created 3 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 | « ui/aura/mus/client_surface_embedder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/mus_client.cc
diff --git a/ui/views/mus/mus_client.cc b/ui/views/mus/mus_client.cc
index 03093279c11e9cab341d49fe5d79c4710852f78d..eb48bd23c98f1bff4945d4646b36041b88bddbdb 100644
--- a/ui/views/mus/mus_client.cc
+++ b/ui/views/mus/mus_client.cc
@@ -171,6 +171,10 @@ MusClient::ConfigurePropertiesFromParams(
properties[WindowManager::kFocusable_InitProperty] =
mojo::ConvertTo<TransportType>(init_params.CanActivate());
+ properties[WindowManager::kTranslucent_InitProperty] =
+ mojo::ConvertTo<TransportType>(init_params.opacity ==
+ Widget::InitParams::TRANSLUCENT_WINDOW);
+
if (!init_params.bounds.IsEmpty()) {
properties[WindowManager::kBounds_InitProperty] =
mojo::ConvertTo<TransportType>(init_params.bounds);
« no previous file with comments | « ui/aura/mus/client_surface_embedder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698