summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/frame/browser_frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/frame/browser_frame.h')
-rw-r--r--chrome/browser/views/frame/browser_frame.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/views/frame/browser_frame.h b/chrome/browser/views/frame/browser_frame.h
index 55b22fe..0431486 100644
--- a/chrome/browser/views/frame/browser_frame.h
+++ b/chrome/browser/views/frame/browser_frame.h
@@ -37,6 +37,7 @@ class Window;
namespace gfx {
class Rect;
}
+class TabStrip;
///////////////////////////////////////////////////////////////////////////////
// BrowserFrame
@@ -47,6 +48,10 @@ class Rect;
//
class BrowserFrame {
public:
+ // Returns the bounds that should be used to size and position the specified
+ // TabStrip.
+ virtual gfx::Rect GetBoundsForTabStrip(TabStrip* tabstrip) const = 0;
+
// Returns the ChromeViews::Window associated with this frame.
virtual ChromeViews::Window* GetWindow() = 0;