restore all tabs on demand
Bug: 3214151
introduced new flag to determine if all tabs should be restored
controlled by the Ui implementation
Change-Id: I3e296f87a93fae54693bca186bb06ecd6db11d02
diff --git a/src/com/android/browser/UI.java b/src/com/android/browser/UI.java
index b290891..08cf33a 100644
--- a/src/com/android/browser/UI.java
+++ b/src/com/android/browser/UI.java
@@ -26,6 +26,8 @@
import android.view.View;
import android.webkit.WebChromeClient.CustomViewCallback;
+import java.util.List;
+
/**
* UI interface definitions
*/
@@ -41,12 +43,16 @@
public boolean onBackKey();
+ public boolean needsRestoreAllTabs();
+
public void addTab(Tab tab);
public void removeTab(Tab tab);
public void setActiveTab(Tab tab);
+ public void updateTabs(List<Tab> tabs);
+
public void detachTab(Tab tab);
public void attachTab(Tab tab);