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

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

Issue 2840903002: mash: Fix create fullscreen widget (Closed)
Patch Set: const Created 3 years, 8 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 | « no previous file | ui/views/mus/desktop_window_tree_host_mus_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8557a3393dda91f02112eefdc650a732517ab64f..1c3789dd5b7c9ded1f15b48b891af1e151218fb0 100644
--- a/ui/views/mus/desktop_window_tree_host_mus.cc
+++ b/ui/views/mus/desktop_window_tree_host_mus.cc
@@ -283,6 +283,8 @@ void DesktopWindowTreeHostMus::Init(aura::Window* content_window,
content_window->SetTransparent(transparent);
window()->SetTransparent(transparent);
+ window()->SetProperty(aura::client::kShowStateKey, params.show_state);
+
if (!params.bounds.IsEmpty())
SetBoundsInDIP(params.bounds);
« no previous file with comments | « no previous file | ui/views/mus/desktop_window_tree_host_mus_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698