Chromium Code Reviews| Index: chrome/browser/ui/window_sizer/window_sizer.h |
| diff --git a/chrome/browser/ui/window_sizer/window_sizer.h b/chrome/browser/ui/window_sizer/window_sizer.h |
| index e9ec7ea67a05e4b96341a3e9f0d1bf4369784241..117fb1ee7e9378ce1532e83a940eee98f605c452 100644 |
| --- a/chrome/browser/ui/window_sizer/window_sizer.h |
| +++ b/chrome/browser/ui/window_sizer/window_sizer.h |
| @@ -163,6 +163,9 @@ class WindowSizer { |
| // Ash specific logic for window placement. Returns true if |bounds| and |
| // |show_state| have been fully determined, otherwise returns false (but |
| // may still affect |show_state|). |
| + // If the window is too big to fit in the display work area then the |bounds| |
|
msw
2014/08/05 16:44:38
nit: start this on the line above.
|
| + // are adjusted to default bounds and the |show_state| is adjusted to |
| + // SHOW_STATE_MAXIMIZED. |
| bool GetBrowserBoundsAsh(gfx::Rect* bounds, |
| ui::WindowShowState* show_state) const; |