Index: chrome/browser/ui/tabs/tab_strip_model.h |
diff --git a/chrome/browser/ui/tabs/tab_strip_model.h b/chrome/browser/ui/tabs/tab_strip_model.h |
index 27fde6e4f5f3ea76c0217007be460865fdbc83e8..6f4735cdb2279ff4d1c7c55899447085575ecf3c 100644 |
--- a/chrome/browser/ui/tabs/tab_strip_model.h |
+++ b/chrome/browser/ui/tabs/tab_strip_model.h |
@@ -378,6 +378,10 @@ class TabStripModel : public content::NotificationObserver { |
// mini-tabs. |
int IndexOfFirstNonMiniTab() const; |
+ // Returns the index of the first tab that is blocked. This returns |
+ // |count()| if no tabs are blocked. |
+ int IndexOfFirstBlockedTab() const; |
+ |
// Returns a valid index for inserting a new tab into this model. |index| is |
// the proposed index and |mini_tab| is true if inserting a tab will become |
// mini (pinned or app). If |mini_tab| is true, the returned index is between |