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 7648104460dff4c2d54f07d597c5b8f3d7b531c3..590542610c98abbe4dd6ce9bcca7a385c11478c3 100644 |
--- a/chrome/browser/ui/window_sizer/window_sizer.h |
+++ b/chrome/browser/ui/window_sizer/window_sizer.h |
@@ -155,20 +155,23 @@ class WindowSizer { |
gfx::Rect* bounds) const; |
#if defined(USE_ASH) |
- // Determines the position and size for an ash window as it gets created. This |
- // will be called before other standard placement logic. It will return true |
- // when the function was setting the bounds structure to the desired size. |
- // Otherwise another algorithm should get used to determine the correct |
- // bounds. |show_state| will only be changed if it was set to |
- // SHOW_STATE_DEFAULT. |
- bool GetBoundsOverrideAsh(gfx::Rect* bounds_in_screen, |
- ui::WindowShowState* show_state) const; |
+ // Determines the position and size for a tabbed browser window in |
+ // ash as it gets created. This will be called before other standard |
+ // placement logic. |show_state| will only be changed |
+ // if it was set to SHOW_STATE_DEFAULT. |
+ void GetTabbedBrowserBoundsAsh(gfx::Rect* bounds_in_screen, |
+ ui::WindowShowState* show_state) const; |
#endif |
// Determine the default show state for the window - not looking at other |
// windows or at persistent information. |
ui::WindowShowState GetWindowDefaultShowState() const; |
+#if defined(USE_ASH) |
+ bool IsTabbedBrowserInAsh() const; |
+ bool IsPopupBrowserInAsh() const; |
+#endif |
+ |
// Providers for persistent storage and monitor metrics. |
scoped_ptr<StateProvider> state_provider_; |
gfx::Screen* screen_; // not owned. |