| Index: chrome/browser/ui/browser.h
|
| diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
|
| index 0e2f6c3a88c321b25972a18d52c2e37445c17bc7..fd84e28c67f1057900bd4fdd7317415a1094bb91 100644
|
| --- a/chrome/browser/ui/browser.h
|
| +++ b/chrome/browser/ui/browser.h
|
| @@ -479,7 +479,6 @@ class Browser : public TabHandlerDelegate,
|
| void ToggleFullscreenMode();
|
| void Exit();
|
| #if defined(OS_CHROMEOS)
|
| - void ToggleCompactNavigationBar();
|
| void Search();
|
| void ShowKeyboardOverlay();
|
| #endif
|
| @@ -580,6 +579,7 @@ class Browser : public TabHandlerDelegate,
|
|
|
| // Overridden from TabStripModelDelegate:
|
| virtual bool UseVerticalTabs() const;
|
| + virtual bool UseCompactNavigationBar() const;
|
|
|
| /////////////////////////////////////////////////////////////////////////////
|
|
|
| @@ -701,6 +701,7 @@ class Browser : public TabHandlerDelegate,
|
| virtual void BookmarkAllTabs();
|
| virtual bool CanCloseTab() const;
|
| virtual void ToggleUseVerticalTabs();
|
| + virtual void ToggleUseCompactNavigationBar();
|
| virtual bool CanRestoreTab();
|
| virtual void RestoreTab();
|
| virtual bool LargeIconsPermitted() const;
|
| @@ -1016,6 +1017,10 @@ class Browser : public TabHandlerDelegate,
|
| // policy of the tab strip model and notifies the window.
|
| void UseVerticalTabsChanged();
|
|
|
| + // Invoked when the use of the compact navigation bar preference changes.
|
| + // Notifies the window.
|
| + void UseCompactNavigationBarChanged();
|
| +
|
| // Implementation of SupportsWindowFeature and CanSupportWindowFeature. If
|
| // |check_fullscreen| is true, the set of features reflect the actual state of
|
| // the browser, otherwise the set of features reflect the possible state of
|
| @@ -1177,6 +1182,9 @@ class Browser : public TabHandlerDelegate,
|
| // Tracks the display mode of the tabstrip.
|
| mutable BooleanPrefMember use_vertical_tabs_;
|
|
|
| + // Tracks the display mode of the navigation bar.
|
| + mutable BooleanPrefMember use_compact_navigation_bar_;
|
| +
|
| // The profile's tab restore service. The service is owned by the profile,
|
| // and we install ourselves as an observer.
|
| TabRestoreService* tab_restore_service_;
|
|
|