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

Side by Side Diff: chrome/browser/tabs/tab_strip_model_delegate.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/tabs/tab_strip_model.cc ('k') | chrome/browser/tabs/tab_strip_model_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_TABS_TAB_STRIP_MODEL_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_TABS_TAB_STRIP_MODEL_DELEGATE_H_
6 #define CHROME_BROWSER_TABS_TAB_STRIP_MODEL_DELEGATE_H_ 6 #define CHROME_BROWSER_TABS_TAB_STRIP_MODEL_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/common/page_transition_types.h" 9 #include "content/common/page_transition_types.h"
10 10
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 // Returns true if any of the tabs can be closed. 112 // Returns true if any of the tabs can be closed.
113 virtual bool CanCloseTab() const = 0; 113 virtual bool CanCloseTab() const = 0;
114 114
115 // Returns true if the vertical tabstrip presentation should be used. 115 // Returns true if the vertical tabstrip presentation should be used.
116 virtual bool UseVerticalTabs() const = 0; 116 virtual bool UseVerticalTabs() const = 0;
117 117
118 // Toggles the use of the vertical tabstrip. 118 // Toggles the use of the vertical tabstrip.
119 virtual void ToggleUseVerticalTabs() = 0; 119 virtual void ToggleUseVerticalTabs() = 0;
120 120
121 // Returns true if the compact navigation bar should be used.
122 virtual bool UseCompactNavigationBar() const = 0;
123
124 // Toggles the use of the compact navigation bar.
125 virtual void ToggleUseCompactNavigationBar() = 0;
126
121 // Returns true if the tab strip can use large icons. 127 // Returns true if the tab strip can use large icons.
122 virtual bool LargeIconsPermitted() const = 0; 128 virtual bool LargeIconsPermitted() const = 0;
123 129
124 protected: 130 protected:
125 virtual ~TabStripModelDelegate() {} 131 virtual ~TabStripModelDelegate() {}
126 }; 132 };
127 133
128 #endif // CHROME_BROWSER_TABS_TAB_STRIP_MODEL_DELEGATE_H_ 134 #endif // CHROME_BROWSER_TABS_TAB_STRIP_MODEL_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/tabs/tab_strip_model.cc ('k') | chrome/browser/tabs/tab_strip_model_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698