summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/WebViewController.java
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2010-12-10 14:29:51 -0800
committerMichael Kolb <kolby@google.com>2010-12-10 16:59:15 -0800
commit18eb377badf8e6f9ea2925bcb7e978facf3171d9 (patch)
tree49109d038ead29ab5d562f714a356e0ff82cf0b0 /src/com/android/browser/WebViewController.java
parent4b59db8bc6b609307dfcb346283378c5ea993d7c (diff)
downloadpackages_apps_Browser-18eb377badf8e6f9ea2925bcb7e978facf3171d9.zip
packages_apps_Browser-18eb377badf8e6f9ea2925bcb7e978facf3171d9.tar.gz
packages_apps_Browser-18eb377badf8e6f9ea2925bcb7e978facf3171d9.tar.bz2
Propagate incognito mode to child tab
Bug: http://b/issue?id=3234294 add parent tab parameter to open tab method inherit parent's private browsing status remove one unnecessary openTab signature Change-Id: I4edf002798d8bbdf4cafa58e5b5b442e74d5cb28
Diffstat (limited to 'src/com/android/browser/WebViewController.java')
-rw-r--r--src/com/android/browser/WebViewController.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/browser/WebViewController.java b/src/com/android/browser/WebViewController.java
index 894bbec..64e97de 100644
--- a/src/com/android/browser/WebViewController.java
+++ b/src/com/android/browser/WebViewController.java
@@ -56,7 +56,7 @@ public interface WebViewController {
void onFavicon(Tab tab, WebView view, Bitmap icon);
- boolean shouldOverrideUrlLoading(WebView view, String url);
+ boolean shouldOverrideUrlLoading(Tab tab, WebView view, String url);
boolean shouldOverrideKeyEvent(KeyEvent event);
@@ -99,7 +99,8 @@ public interface WebViewController {
void dismissSubWindow(Tab tab);
- Tab openTabAndShow(UrlData urlData, boolean closeOnExit, String appId);
+ Tab openTabAndShow(Tab parent, UrlData urlData, boolean closeOnExit,
+ String appId);
boolean switchToTab(int tabindex);