diff options
author | Jonathan Dixon <joth@google.com> | 2012-12-17 13:39:17 -0800 |
---|---|---|
committer | Jonathan Dixon <joth@google.com> | 2012-12-17 13:39:17 -0800 |
commit | e1d6dfca80e4627a0c7fe46e38f904179c3edab3 (patch) | |
tree | 10f62ca2d7f4567e8cb717ec626215eb9a4681f8 /src/com/android/browser/BaseUi.java | |
parent | dd41509b73803f4f575b739b6276177fe9de7e80 (diff) | |
download | packages_apps_Browser-e1d6dfca80e4627a0c7fe46e38f904179c3edab3.zip packages_apps_Browser-e1d6dfca80e4627a0c7fe46e38f904179c3edab3.tar.gz packages_apps_Browser-e1d6dfca80e4627a0c7fe46e38f904179c3edab3.tar.bz2 |
De-classicify Browser
Removes the hard run-time dependency on WebViewClassic.
(Still needs visisbility of it to build though)
This is needed to enable chromium webview testing.
Change-Id: I290b6b23b2eac525537ebc3ef8007d681a67a169
Diffstat (limited to 'src/com/android/browser/BaseUi.java')
-rw-r--r-- | src/com/android/browser/BaseUi.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/browser/BaseUi.java b/src/com/android/browser/BaseUi.java index b766fb9..3ba3182 100644 --- a/src/com/android/browser/BaseUi.java +++ b/src/com/android/browser/BaseUi.java @@ -423,9 +423,9 @@ public abstract class BaseUi implements UI { .findViewById(R.id.subwindow_close); final WebView cancelSubView = subView; cancel.setOnClickListener(new OnClickListener() { + @Override public void onClick(View v) { - WebViewClassic.fromWebView(cancelSubView).getWebChromeClient().onCloseWindow( - cancelSubView); + ((BrowserWebView) cancelSubView).getWebChromeClient().onCloseWindow(cancelSubView); } }); tab.setSubWebView(subView); |