From ad3d7273dff93e5107a947c05c6a47c35ea7eea7 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Thu, 29 Apr 2010 03:20:27 +0000 Subject: 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 --- chrome/browser/views/frame/browser_frame_gtk.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'chrome/browser/views/frame/browser_frame_gtk.cc') 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(); } -- cgit v1.1