| Index: chrome/browser/ui/window_sizer/window_sizer_ash.cc
|
| diff --git a/chrome/browser/ui/window_sizer/window_sizer_ash.cc b/chrome/browser/ui/window_sizer/window_sizer_ash.cc
|
| index 3da8368fac05086e7bd3537afb0857db9b4873c9..bd834d8afd598868a3bfc85928e909b1d15a7426 100644
|
| --- a/chrome/browser/ui/window_sizer/window_sizer_ash.cc
|
| +++ b/chrome/browser/ui/window_sizer/window_sizer_ash.cc
|
| @@ -23,7 +23,7 @@ namespace {
|
|
|
| // When a window gets opened in default mode and the screen is less then this
|
| // width, the window will get opened in maximized mode.
|
| -const int kForceMaximizeWidthLimit = 1450;
|
| +const int kForceMaximizeWidthLimit = 640;
|
|
|
| // Check if the given browser is 'valid': It is a tabbed, non minimized
|
| // window, which intersects with the |bounds_in_screen| area of a given screen.
|
| @@ -133,6 +133,11 @@ bool MoveRect(const gfx::Rect& work_area,
|
|
|
| } // namespace
|
|
|
| +// static
|
| +int WindowSizer::GetForceMaximizedWidthLimit() {
|
| + return kForceMaximizeWidthLimit;
|
| +}
|
| +
|
| bool WindowSizer::GetBoundsOverrideAsh(gfx::Rect* bounds_in_screen,
|
| ui::WindowShowState* show_state) const {
|
| DCHECK(show_state);
|
|
|