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

Unified Diff: chrome/browser/ui/tabs/tab_strip_model.h

Issue 10947019: Constrained Window Cocoa: Disable fullscreen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698