From 46f987eca738a36e2c8382aaec6c7ef2ae2482ae Mon Sep 17 00:00:00 2001 From: Michael Kolb Date: Tue, 5 Apr 2011 10:39:10 -0700 Subject: refactor titlebar code Change-Id: I45db5f19af142ba78d3e3833fa428e8f9a14b889 --- src/com/android/browser/BaseUi.java | 47 ++--- src/com/android/browser/Controller.java | 6 - src/com/android/browser/PhoneUi.java | 48 ++---- src/com/android/browser/PieControl.java | 4 +- src/com/android/browser/TabBar.java | 2 +- src/com/android/browser/TitleBarBase.java | 255 +++++++++++++++++++++++----- src/com/android/browser/TitleBarPhone.java | 101 ++--------- src/com/android/browser/TitleBarXLarge.java | 129 +------------- src/com/android/browser/UiController.java | 2 - src/com/android/browser/XLargeUi.java | 143 ++-------------- 10 files changed, 295 insertions(+), 442 deletions(-) (limited to 'src/com/android') diff --git a/src/com/android/browser/BaseUi.java b/src/com/android/browser/BaseUi.java index 2a03893..5daf17a 100644 --- a/src/com/android/browser/BaseUi.java +++ b/src/com/android/browser/BaseUi.java @@ -87,8 +87,6 @@ public abstract class BaseUi implements UI, WebViewFactory { private Toast mStopToast; - private boolean mTitleShowing; - // the default