OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ |
7 | 7 |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "chrome/browser/ui/views/tabs/tab_strip_types.h" | 9 #include "chrome/browser/ui/views/tabs/tab_strip_types.h" |
10 #include "third_party/skia/include/core/SkColor.h" | 10 #include "third_party/skia/include/core/SkColor.h" |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 // from this tabstrip but the user is still dragging the tabs. | 116 // from this tabstrip but the user is still dragging the tabs. |
117 virtual void OnStoppedDraggingTabs() = 0; | 117 virtual void OnStoppedDraggingTabs() = 0; |
118 | 118 |
119 // Determines if the file type of the URL is supported. Should invoke | 119 // Determines if the file type of the URL is supported. Should invoke |
120 // TabStrip::FileSupported to report the result. | 120 // TabStrip::FileSupported to report the result. |
121 virtual void CheckFileSupported(const GURL& url) = 0; | 121 virtual void CheckFileSupported(const GURL& url) = 0; |
122 | 122 |
123 // Returns COLOR_TOOLBAR_TOP_SEPARATOR[,_INACTIVE] depending on the activation | 123 // Returns COLOR_TOOLBAR_TOP_SEPARATOR[,_INACTIVE] depending on the activation |
124 // state of the window. | 124 // state of the window. |
125 virtual SkColor GetToolbarTopSeparatorColor() const = 0; | 125 virtual SkColor GetToolbarTopSeparatorColor() const = 0; |
| 126 |
| 127 // Returns the accessible tab name. |
| 128 virtual base::string16 GetAccessibleTabName(const Tab* tab) const = 0; |
126 }; | 129 }; |
127 | 130 |
128 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ | 131 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ |
OLD | NEW |