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

Unified Diff: ash/wm/window_state.cc

Issue 199283002: Remove ash::switches::UseImmersiveFullscreenForAllWindows() (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
« no previous file with comments | « ash/wm/window_state.h ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_state.cc
diff --git a/ash/wm/window_state.cc b/ash/wm/window_state.cc
index 8f69a364ff245437812a51ea3c476063947c2b45..e3e162794beb94ea6d137b1d02f9f0b58bd0ce79 100644
--- a/ash/wm/window_state.cc
+++ b/ash/wm/window_state.cc
@@ -90,20 +90,11 @@ WindowState::WindowState(aura::Window* window)
top_row_keys_are_function_keys_(false),
unminimize_to_restore_bounds_(false),
hide_shelf_when_fullscreen_(true),
- animate_to_fullscreen_(true),
minimum_visibility_(false),
can_be_dragged_(true),
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() {
« no previous file with comments | « ash/wm/window_state.h ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698