| Index: chrome/browser/ui/browser.h
|
| ===================================================================
|
| --- chrome/browser/ui/browser.h (revision 84869)
|
| +++ chrome/browser/ui/browser.h (working copy)
|
| @@ -485,7 +485,6 @@
|
| void ToggleFullscreenMode();
|
| void Exit();
|
| #if defined(OS_CHROMEOS)
|
| - void ToggleCompactNavigationBar();
|
| void Search();
|
| void ShowKeyboardOverlay();
|
| #endif
|
| @@ -583,6 +582,7 @@
|
|
|
| // Overridden from TabStripModelDelegate:
|
| virtual bool UseVerticalTabs() const;
|
| + virtual bool UseCompactNavigationBar() const;
|
|
|
| /////////////////////////////////////////////////////////////////////////////
|
|
|
| @@ -704,6 +704,7 @@
|
| virtual void BookmarkAllTabs();
|
| virtual bool CanCloseTab() const;
|
| virtual void ToggleUseVerticalTabs();
|
| + virtual void ToggleUseCompactNavigationBar();
|
| virtual bool CanRestoreTab();
|
| virtual void RestoreTab();
|
| virtual bool LargeIconsPermitted() const;
|
| @@ -1029,6 +1030,10 @@
|
| // 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
|
| @@ -1192,6 +1197,9 @@
|
| // 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_;
|
|
|