Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Unified Diff: chrome/browser/ui/browser.h

Issue 6913026: Compact Navigation prototype (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Clang build fix. After commit/revert. Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/tabs/tab_strip_model_unittest.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « chrome/browser/tabs/tab_strip_model_unittest.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698