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

Unified Diff: chrome/browser/views/frame/browser_view.h

Issue 1141005: Revert r42156, r42157, r42160. Allow dynamic switching in and out of sidetabs... (Closed) Base URL: svn://chrome-svn/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
« no previous file with comments | « chrome/browser/views/frame/browser_frame_win.cc ('k') | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/frame/browser_view.h
===================================================================
--- chrome/browser/views/frame/browser_view.h (revision 42174)
+++ chrome/browser/views/frame/browser_view.h (working copy)
@@ -151,7 +151,7 @@
bool IsTabStripVisible() const;
// Returns true if the vertical tabstrip is in use.
- bool UseVerticalTabs() const;
+ bool UsingSideTabs() const;
// Returns true if the profile associated with this Browser window is
// off the record.
@@ -322,7 +322,6 @@
virtual void Cut();
virtual void Copy();
virtual void Paste();
- virtual void ToggleTabStripMode();
// Overridden from BrowserWindowTesting:
virtual BookmarkBarView* GetBookmarkBarView() const;
@@ -398,10 +397,9 @@
// override to implemnet different layout pocily.
virtual views::LayoutManager* CreateLayoutManager() const;
- // 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);
+ // 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);
// Browser window related initializations.
virtual void Init();
« no previous file with comments | « chrome/browser/views/frame/browser_frame_win.cc ('k') | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698