From 1bf231334fd4bda8dbde5b9a0345c756a213b3a2 Mon Sep 17 00:00:00 2001 From: Michael Kolb Date: Fri, 19 Nov 2010 12:55:12 -0800 Subject: 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 --- src/com/android/browser/UI.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/com/android/browser/UI.java') diff --git a/src/com/android/browser/UI.java b/src/com/android/browser/UI.java index b2908918f..08cf33a0f 100644 --- a/src/com/android/browser/UI.java +++ b/src/com/android/browser/UI.java @@ -26,6 +26,8 @@ import android.view.Menu; import android.view.View; import android.webkit.WebChromeClient.CustomViewCallback; +import java.util.List; + /** * UI interface definitions */ @@ -41,12 +43,16 @@ public interface UI extends ScrollListener { 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 tabs); + public void detachTab(Tab tab); public void attachTab(Tab tab); -- cgit v1.2.3