summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/BaseUi.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/browser/BaseUi.java')
-rw-r--r--src/com/android/browser/BaseUi.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/android/browser/BaseUi.java b/src/com/android/browser/BaseUi.java
index 7b7e25f..01c7da6 100644
--- a/src/com/android/browser/BaseUi.java
+++ b/src/com/android/browser/BaseUi.java
@@ -224,6 +224,14 @@ public abstract class BaseUi implements UI {
}
@Override
+ public void onProgressChanged(Tab tab) {
+ int progress = tab.getLoadProgress();
+ if (tab.inForeground()) {
+ mTitleBar.setProgress(progress);
+ }
+ }
+
+ @Override
public void bookmarkedStatusHasChanged(Tab tab) {
if (tab.inForeground()) {
boolean isBookmark = tab.isBookmarkedSite();
@@ -270,6 +278,7 @@ public abstract class BaseUi implements UI {
if (mUseQuickControls) {
mPieControl.forceToTop(mContentView);
web.setTitleBar(null);
+ mTitleBar.hide();
} else {
web.setTitleBar(mTitleBar);
mTitleBar.onScrollChanged();