Chromium Code Reviews| 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) |
|
pkotwicz
2014/03/13 18:34:32
Can you merge with https://codereview.chromium.org
zturner
2014/03/13 19:28:10
Will wait for that patch to land and then rebase t
|
| // 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() { |