summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/BrowserWebView.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/browser/BrowserWebView.java')
-rw-r--r--src/com/android/browser/BrowserWebView.java17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/com/android/browser/BrowserWebView.java b/src/com/android/browser/BrowserWebView.java
index 99e0587..3e3672c 100644
--- a/src/com/android/browser/BrowserWebView.java
+++ b/src/com/android/browser/BrowserWebView.java
@@ -22,9 +22,7 @@ import android.util.AttributeSet;
import android.view.View;
import android.webkit.WebChromeClient;
import android.webkit.WebStorage;
-import android.webkit.WebStorageClassic;
import android.webkit.WebView;
-import android.webkit.WebViewClassic;
import android.webkit.WebViewClient;
import java.util.Map;
@@ -32,7 +30,7 @@ import java.util.Map;
/**
* Manage WebView scroll events
*/
-public class BrowserWebView extends WebView implements WebViewClassic.TitleBarDelegate {
+public class BrowserWebView extends WebView {
public interface OnScrollChangedListener {
void onScrollChanged(int l, int t, int oldl, int oldt);
@@ -80,11 +78,6 @@ public class BrowserWebView extends WebView implements WebViewClassic.TitleBarDe
super(context);
}
- public static boolean isClassic() {
- // Using WebStorage for convenience of access in a static method.
- return WebStorage.getInstance() instanceof WebStorageClassic;
- }
-
@Override
public void setWebChromeClient(WebChromeClient client) {
mWebChromeClient = client;
@@ -109,18 +102,10 @@ public class BrowserWebView extends WebView implements WebViewClassic.TitleBarDe
mTitleBar = title;
}
- // From TitleBarDelegate
- @Override
public int getTitleHeight() {
return (mTitleBar != null) ? mTitleBar.getEmbeddedHeight() : 0;
}
- // From TitleBarDelegate
- @Override
- public void onSetEmbeddedTitleBar(final View title) {
- // TODO: Remove this method; it is never invoked.
- }
-
public boolean hasTitleBar() {
return (mTitleBar != null);
}