summaryrefslogtreecommitdiff
path: root/src/com/android/browser/WebViewController.java
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-01-11 16:56:42 -0800
committerJohn Reck <jreck@google.com>2011-01-11 17:20:15 -0800
commit324d440ea7dc44da8beef8a6c2e6f7a33b20a41d (patch)
treeda1115b0063d025215477380c698dbab0c62a316 /src/com/android/browser/WebViewController.java
parentb1d27b1c2e4898eb7c08ee1ae47a2b99c814ac12 (diff)
Changes Controller to use Tab.getUrl in more places
Bug: 3342456 Changes Controller to use Tab.getUrl() and then added empty url checks in places like doUpdateVisitedHistory. Tab already takes care of filtering URLs, so filtering out most visited URLs is thus handled. Change-Id: Iaf60353d7cb924991c5e0a5adf18074fcf13bfe6
Diffstat (limited to 'src/com/android/browser/WebViewController.java')
-rw-r--r--src/com/android/browser/WebViewController.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/browser/WebViewController.java b/src/com/android/browser/WebViewController.java
index a187af0b..813b63be 100644
--- a/src/com/android/browser/WebViewController.java
+++ b/src/com/android/browser/WebViewController.java
@@ -46,9 +46,9 @@ public interface WebViewController {
void createSubWindow(Tab tab);
- void onPageStarted(Tab tab, WebView view, String url, Bitmap favicon);
+ void onPageStarted(Tab tab, WebView view, Bitmap favicon);
- void onPageFinished(Tab tab, String url);
+ void onPageFinished(Tab tab);
void onProgressChanged(Tab tab);
@@ -62,7 +62,7 @@ public interface WebViewController {
void onUnhandledKeyEvent(KeyEvent event);
- void doUpdateVisitedHistory(Tab tab, String url, boolean isReload);
+ void doUpdateVisitedHistory(Tab tab, boolean isReload);
void getVisitedHistory(final ValueCallback<String[]> callback);