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

Unified Diff: ash/wm/window_state.cc

Issue 198413003: Enable immersive fullscreen on Windows Ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
Index: ash/wm/window_state.cc
diff --git a/ash/wm/window_state.cc b/ash/wm/window_state.cc
index 8f69a364ff245437812a51ea3c476063947c2b45..b464f04c35e2dfbc7e5aed55bab4e16e91f1b8f3 100644
--- a/ash/wm/window_state.cc
+++ b/ash/wm/window_state.cc
@@ -96,14 +96,12 @@ WindowState::WindowState(aura::Window* window)
ignore_property_change_(false),
current_state_(new DefaultState(ToWindowStateType(GetShowState()))) {
window_->AddObserver(this);
-#if defined(OS_CHROMEOS)
// NOTE(pkotwicz): Animating to immersive fullscreen does not look good. When
// switches::UseImmersiveFullscreenForAllWindows() returns true, most windows
// can be put into immersive fullscreen. It is not worth the added complexity
// to only animate to fullscreen if the window is put into immersive
// fullscreen.
animate_to_fullscreen_ = !switches::UseImmersiveFullscreenForAllWindows();
-#endif
}
WindowState::~WindowState() {

Powered by Google App Engine
This is Rietveld 408576698