summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/UI.java
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2010-12-16 17:30:34 -0800
committerJohn Reck <jreck@google.com>2010-12-17 14:19:05 -0800
commit30c714c853a4239e72ab1e238ce2a92472d06ab0 (patch)
tree397e4e02aa9404f008d65d24fa1d3e6ae039ccd9 /src/com/android/browser/UI.java
parent39772c83f8e210eed1186b66f5f4841aa41776ee (diff)
downloadpackages_apps_Browser-30c714c853a4239e72ab1e238ce2a92472d06ab0.tar.gz
packages_apps_Browser-30c714c853a4239e72ab1e238ce2a92472d06ab0.tar.bz2
packages_apps_Browser-30c714c853a4239e72ab1e238ce2a92472d06ab0.zip
Overhaul handling tab data updates
Bug: 2127502, 3191165 Pushed some state tracking to the tab for URL, title, favicon, and lock status. This allowed me to remove many duplicate methods of updating that data, preventing the UI from getting out of sync with the web view. Change-Id: I995caa98068ad03ca37710207b5ab57bb9d801ab
Diffstat (limited to 'src/com/android/browser/UI.java')
-rw-r--r--src/com/android/browser/UI.java16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/com/android/browser/UI.java b/src/com/android/browser/UI.java
index 9f0334415..e2f76f1b6 100644
--- a/src/com/android/browser/UI.java
+++ b/src/com/android/browser/UI.java
@@ -64,23 +64,11 @@ public interface UI {
public void removeSubWindow(View subContainer);
- // TODO: consolidate
- public void setUrlTitle(Tab tab, String url, String title);
-
- // TODO: consolidate
- public void setFavicon(Tab tab, Bitmap icon);
-
- public void resetTitleAndRevertLockIcon(Tab tab);
-
- public void resetTitleAndIcon(Tab tab);
-
- public void onPageStarted(Tab tab, String url, Bitmap favicon);
-
- public void onPageFinished(Tab tab, String url);
+ public void onTabDataChanged(Tab tab);
public void onPageStopped(Tab tab);
- public void onProgressChanged(Tab tab, int progress);
+ public void onProgressChanged(Tab tab);
public void showActiveTabsPage();