Index: ash/wm/window_positioner.cc |
=================================================================== |
--- ash/wm/window_positioner.cc (revision 234596) |
+++ ash/wm/window_positioner.cc (working copy) |
@@ -238,7 +238,9 @@ |
return; |
// When using "small screens" we want to always open in full screen mode. |
if (show_state_in == ui::SHOW_STATE_DEFAULT && |
+#if !defined(OS_WIN) |
work_area.width() <= GetForceMaximizedWidthLimit() && |
+#endif |
(!new_window || !wm::GetWindowState(new_window)->IsFullscreen())) { |
*show_state_out = ui::SHOW_STATE_MAXIMIZED; |
} |