summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/frame/browser_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/frame/browser_view.h')
-rw-r--r--chrome/browser/views/frame/browser_view.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/browser/views/frame/browser_view.h b/chrome/browser/views/frame/browser_view.h
index 7e52404..4e13040 100644
--- a/chrome/browser/views/frame/browser_view.h
+++ b/chrome/browser/views/frame/browser_view.h
@@ -167,7 +167,7 @@ class BrowserView : public BrowserBubbleHost,
bool IsTabStripVisible() const;
// Returns true if the vertical tabstrip is in use.
- bool UsingSideTabs() const;
+ bool UseVerticalTabs() const;
// Returns true if the profile associated with this Browser window is
// off the record.
@@ -336,6 +336,7 @@ class BrowserView : public BrowserBubbleHost,
virtual void Cut();
virtual void Copy();
virtual void Paste();
+ virtual void ToggleTabStripMode();
// Overridden from BrowserWindowTesting:
virtual BookmarkBarView* GetBookmarkBarView() const;
@@ -409,9 +410,10 @@ class BrowserView : public BrowserBubbleHost,
// override to implemnet different layout pocily.
virtual views::LayoutManager* CreateLayoutManager() const;
- // Returns a new TabStrip for the browser view. A subclass may
- // override to return a different TabStrip implementation.
- virtual BaseTabStrip* CreateTabStrip(TabStripModel* tab_strip_model);
+ // Initializes a new TabStrip for the browser view. This can be performed
+ // multiple times over the life of the browser, and is run when the display
+ // mode for the tabstrip changes from horizontal to vertical.
+ void InitTabStrip(TabStripModel* tab_strip_model);
// Browser window related initializations.
virtual void Init();