diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-29 05:37:53 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-29 05:37:53 +0000 |
commit | 12c68c2f1f05cd8fbe453694b4c04ac25d08c1a8 (patch) | |
tree | b7f34c6082f0251e5237db4c524a7b46acc5980e /chrome/browser/views/frame/browser_frame_gtk.cc | |
parent | f381dfa196a8da9382ff6c4b109216b5d166c148 (diff) | |
download | chromium_src-12c68c2f1f05cd8fbe453694b4c04ac25d08c1a8.zip chromium_src-12c68c2f1f05cd8fbe453694b4c04ac25d08c1a8.tar.gz chromium_src-12c68c2f1f05cd8fbe453694b4c04ac25d08c1a8.tar.bz2 |
Revert 45906 - Relands your patch to have an option for enabling vertical tabs. I've
added the following additions:
. made the layout work for opaque_browser_frame.
. Only show the menu if the user supplied enableverticaltabs.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1708014
TBR=sky@chromium.org
Review URL: http://codereview.chromium.org/1795010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45915 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/frame/browser_frame_gtk.cc')
-rw-r--r-- | chrome/browser/views/frame/browser_frame_gtk.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/views/frame/browser_frame_gtk.cc b/chrome/browser/views/frame/browser_frame_gtk.cc index cb67b3b..ef6f5a1 100644 --- a/chrome/browser/views/frame/browser_frame_gtk.cc +++ b/chrome/browser/views/frame/browser_frame_gtk.cc @@ -102,6 +102,9 @@ views::Window* BrowserFrameGtk::GetWindow() { return this; } +void BrowserFrameGtk::TabStripCreated(BaseTabStrip* tabstrip) { +} + int BrowserFrameGtk::GetMinimizeButtonOffset() const { NOTIMPLEMENTED(); return 0; @@ -136,10 +139,6 @@ views::View* BrowserFrameGtk::GetFrameView() const { void BrowserFrameGtk::PaintTabStripShadow(gfx::Canvas* canvas) { } -void BrowserFrameGtk::TabStripDisplayModeChanged() { - GetRootView()->Layout(); -} - ThemeProvider* BrowserFrameGtk::GetThemeProvider() const { return profile_->GetThemeProvider(); } |