| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |