Index: chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModel.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModel.java b/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModel.java |
index 87945efbffe8759042b5ee75d6edf9a872d88dc4..565cfc041fad14c19557cb07b68c81869d3cde68 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModel.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModel.java |
@@ -84,6 +84,14 @@ public interface TabModel extends TabList { |
public void closeAllTabs(); |
/** |
+ * Close all tabs on this model. If allowDelegation is true, the model has the option |
+ * of not closing all tabs and delegating the closure to another class. |
+ * @param allowDelegation true iff the model may delegate the close all request. |
+ * false iff the model must close all tabs. |
+ */ |
+ public void closeAllTabs(boolean allowDelegation); |
+ |
+ /** |
* @return Whether or not this model supports pending closures. |
*/ |
public boolean supportsPendingClosures(); |