Index: chrome/browser/views/tabs/side_tab_strip.cc |
=================================================================== |
--- chrome/browser/views/tabs/side_tab_strip.cc (revision 41630) |
+++ chrome/browser/views/tabs/side_tab_strip.cc (working copy) |
@@ -38,12 +38,6 @@ |
switches::kEnableVerticalTabs); |
} |
-// static |
-bool SideTabStrip::Visible(Profile* profile) { |
- return Available() && |
- profile->GetPrefs()->GetBoolean(prefs::kUseVerticalTabs); |
-} |
- |
void SideTabStrip::AddTabAt(int index) { |
SideTab* tab = new SideTab(this); |
AddChildView(tab); |
@@ -88,6 +82,10 @@ |
model_->CloseTab(GetIndexOfSideTab(tab)); |
} |
+void SideTabStrip::ShowContextMenu(SideTab* tab, const gfx::Point& p) { |
+ model_->ShowContextMenu(GetIndexOfSideTab(tab), p); |
+} |
+ |
//////////////////////////////////////////////////////////////////////////////// |
// SideTabStrip, BaseTabStrip implementation: |