diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-29 03:20:27 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-29 03:20:27 +0000 |
commit | ad3d7273dff93e5107a947c05c6a47c35ea7eea7 (patch) | |
tree | dd34fa6e3aaa7080885f5d28e046c76751f7d25f /chrome/browser/views/frame/browser_frame_gtk.cc | |
parent | 21bd81995a2dbeb92833ee6b55612ec30ce6122f (diff) | |
download | chromium_src-ad3d7273dff93e5107a947c05c6a47c35ea7eea7.zip chromium_src-ad3d7273dff93e5107a947c05c6a47c35ea7eea7.tar.gz chromium_src-ad3d7273dff93e5107a947c05c6a47c35ea7eea7.tar.bz2 |
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 --enable-vertical-tabs.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1708014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45906 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, 4 insertions, 3 deletions
diff --git a/chrome/browser/views/frame/browser_frame_gtk.cc b/chrome/browser/views/frame/browser_frame_gtk.cc index ef6f5a1..cb67b3b 100644 --- a/chrome/browser/views/frame/browser_frame_gtk.cc +++ b/chrome/browser/views/frame/browser_frame_gtk.cc @@ -102,9 +102,6 @@ views::Window* BrowserFrameGtk::GetWindow() { return this; } -void BrowserFrameGtk::TabStripCreated(BaseTabStrip* tabstrip) { -} - int BrowserFrameGtk::GetMinimizeButtonOffset() const { NOTIMPLEMENTED(); return 0; @@ -139,6 +136,10 @@ views::View* BrowserFrameGtk::GetFrameView() const { void BrowserFrameGtk::PaintTabStripShadow(gfx::Canvas* canvas) { } +void BrowserFrameGtk::TabStripDisplayModeChanged() { + GetRootView()->Layout(); +} + ThemeProvider* BrowserFrameGtk::GetThemeProvider() const { return profile_->GetThemeProvider(); } |