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

Unified Diff: ash/wm/default_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/frame/custom_frame_view_ash.cc ('k') | ash/wm/window_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/default_state.cc
diff --git a/ash/wm/default_state.cc b/ash/wm/default_state.cc
index a6ea57149d9ade6b2edae13adf4e1a92fa91d625..f35de1fd53e90a5b7713c6a1ce83ebfcf4bcb108 100644
--- a/ash/wm/default_state.cc
+++ b/ash/wm/default_state.cc
@@ -428,8 +428,7 @@ void DefaultState::UpdateBounds(WindowState* window_state,
if (state_type != WINDOW_STATE_TYPE_MINIMIZED) {
if (old_state_type == WINDOW_STATE_TYPE_MINIMIZED ||
- (window_state->IsFullscreen() &&
- !window_state->animate_to_fullscreen())) {
+ window_state->IsFullscreen()) {
window_state->SetBoundsDirect(bounds_in_parent);
} else if (window_state->IsMaximizedOrFullscreen() ||
IsMaximizedOrFullscreenWindowStateType(old_state_type)) {
« no previous file with comments | « ash/frame/custom_frame_view_ash.cc ('k') | ash/wm/window_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698