Index: chrome/browser/ui/panels/panel_browser_frame_view.h |
diff --git a/chrome/browser/ui/panels/panel_browser_frame_view.h b/chrome/browser/ui/panels/panel_browser_frame_view.h |
index 2590d55cd783f9564c8288794931f19f92e08fb8..ab6ba7646fed46148bab02fbc3abb7183f265933 100644 |
--- a/chrome/browser/ui/panels/panel_browser_frame_view.h |
+++ b/chrome/browser/ui/panels/panel_browser_frame_view.h |
@@ -54,6 +54,10 @@ class PanelBrowserFrameView : public BrowserNonClientFrameView, |
// the size of the client area. |
gfx::Size NonClientAreaSize() const; |
+ // Returns the size of the non-client area upon which only the title icon |
+ // is drawn. |
+ gfx::Size IconifiedSize() const; |
+ |
protected: |
// Overridden from BrowserNonClientFrameView: |
virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; |
@@ -137,6 +141,9 @@ class PanelBrowserFrameView : public BrowserNonClientFrameView, |
// borders, including both the window frame and any client edge. |
int NonClientBorderThickness() const; |
+ // Returns the width of the panel that is showing only an icon. |
+ int IconOnlyWidth() const; |
+ |
// Update control styles to indicate if the titlebar is active or not. |
void UpdateControlStyles(PaintState paint_state); |