Chromium Code Reviews| Index: chrome/browser/ui/views/tabs/tab_controller.h |
| diff --git a/chrome/browser/ui/views/tabs/tab_controller.h b/chrome/browser/ui/views/tabs/tab_controller.h |
| index d20a178673dd12214ce7b9997e494d5d2129f23d..c69f1e3fc3561ee809aa95c705eb5f1ef06fcc10 100644 |
| --- a/chrome/browser/ui/views/tabs/tab_controller.h |
| +++ b/chrome/browser/ui/views/tabs/tab_controller.h |
| @@ -89,6 +89,13 @@ class TabController { |
| // Returns true if tabs painted in the rectangular light-bar style. |
| virtual bool IsImmersiveStyle() const = 0; |
| + // Returns the index of the specified tab in the model coordinate system, or |
| + // -1 if tab is closing or not valid. |
| + virtual int GetModelIndexOfTab(const Tab* tab) const = 0; |
| + |
| + // Gets the number of Tabs in the tab strip. |
| + virtual int tab_count() const = 0; |
|
dmazzoni
2014/07/16 15:08:25
As a convention, we only use the lowercase_with_un
evy
2014/07/16 16:44:26
Done.
|
| + |
| protected: |
| virtual ~TabController() {} |
| }; |