| 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 48d445bdebea2afbaff64017fc1a2bc3c041f57d..8b883d610a9e658d6128ae9063ed693263446bea 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
|
| @@ -210,6 +210,19 @@ public interface TabModel extends TabList {
|
| void removeTab(Tab tab);
|
|
|
| /**
|
| + * Indicates that a new tab may be added to the model soon. Allows the model to initialize
|
| + * anything necessary for the creation of a tab or perform cleanup once a new tab is no longer
|
| + * pending addition.
|
| + * @param isPendingTabAdd Whether a new tab is pending addition to this model.
|
| + */
|
| + void setIsPendingTabAdd(boolean isPendingTabAdd);
|
| +
|
| + /**
|
| + * Whether a new tab is pending addition to this model.
|
| + */
|
| + boolean isPendingTabAdd();
|
| +
|
| + /**
|
| * Subscribes a {@link TabModelObserver} to be notified about changes to this model.
|
| * @param observer The observer to be subscribed.
|
| */
|
|
|