diff options
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r-- | chrome/browser/browser.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc index 3ad0276..b9457e7 100644 --- a/chrome/browser/browser.cc +++ b/chrome/browser/browser.cc @@ -1150,9 +1150,6 @@ bool Browser::SupportsWindowFeatureImpl(WindowFeature feature, if (type() == TYPE_NORMAL || type() == TYPE_EXTENSION_APP) features |= FEATURE_TABSTRIP; - // TODO(aa): This is kinda a hack. The toolbar is not really there, it is - // collapsed. We probably want to add a FEATURE_MINI_TOOLBAR to represent - // the collapsed state. if (type() == TYPE_NORMAL || type() == TYPE_EXTENSION_APP) features |= FEATURE_TOOLBAR; @@ -2366,10 +2363,6 @@ void Browser::ToggleUseVerticalTabs() { UseVerticalTabsChanged(); } -void Browser::SetToolbarVisibility(bool visible) { - window()->SetToolbarCollapsedMode(!visible); -} - /////////////////////////////////////////////////////////////////////////////// // Browser, TabStripModelObserver implementation: @@ -2453,8 +2446,6 @@ void Browser::TabSelectedAt(TabContents* old_contents, session_id(), tabstrip_model_.selected_index()); } } - - window()->SetToolbarCollapsedMode(!tabstrip_model_.IsToolbarVisible(index)); } void Browser::TabMoved(TabContents* contents, |