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

Unified Diff: ash/common/wm_window.cc

Issue 2645673003: Add an aura window property for Immersive fullscreen mode (Closed)
Patch Set: Created 3 years, 11 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/aura/client/aura_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_window.cc
diff --git a/ash/common/wm_window.cc b/ash/common/wm_window.cc
index 21281fd6197dc4782a958ff33dd4013450d69869..76a419824f4b2014e17cbc65d50bf37beb310500 100644
--- a/ash/common/wm_window.cc
+++ b/ash/common/wm_window.cc
@@ -960,6 +960,11 @@ void WmWindow::OnWindowPropertyChanged(aura::Window* window,
}
return;
}
+ if (key == aura::client::kImmersiveFullscreenKey) {
+ bool enable = window_->GetProperty(aura::client::kImmersiveFullscreenKey);
sky 2017/01/23 21:48:56 You'll need to mirror this to a WindowManager prop
Peng 2017/01/25 16:18:57 Done.
+ GetWindowState()->set_in_immersive_fullscreen(enable);
+ return;
+ }
WmWindowProperty wm_property;
if (key == aura::client::kAlwaysOnTopKey) {
wm_property = WmWindowProperty::ALWAYS_ON_TOP;
« no previous file with comments | « no previous file | ui/aura/client/aura_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698