Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4387)

Unified Diff: chrome/browser/browser.h

Issue 1001003: Allow dynamic switching in and out of sidetabs mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/browser.h
===================================================================
--- chrome/browser/browser.h (revision 41630)
+++ chrome/browser/browser.h (working copy)
@@ -575,6 +575,8 @@
virtual bool CanCloseContentsAt(int index);
virtual bool CanBookmarkAllTabs() const;
virtual void BookmarkAllTabs();
+ virtual bool UseVerticalTabs() const;
+ virtual void ToggleUseVerticalTabs();
// Overridden from TabStripModelObserver:
virtual void TabInsertedAt(TabContents* contents,
@@ -915,6 +917,9 @@
// from a TabContents. Currently, only one pending action is allowed.
WebAppAction pending_web_app_action_;
+ // Tracks the display mode of the tabstrip.
+ mutable BooleanPrefMember use_vertical_tabs_;
+
DISALLOW_COPY_AND_ASSIGN(Browser);
};

Powered by Google App Engine
This is Rietveld 408576698