summaryrefslogtreecommitdiffstats
path: root/android_webview/test
diff options
context:
space:
mode:
authorjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-29 23:13:38 +0000
committerjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-29 23:13:38 +0000
commit6f65cc4b59bbfe736071e26a56f9601003f75ad3 (patch)
tree32d436fc587b99e01756165a9dcb44de454a563f /android_webview/test
parent8896130f2cb7940e74438f3bb5064b78d85dd25d (diff)
downloadchromium_src-6f65cc4b59bbfe736071e26a56f9601003f75ad3.zip
chromium_src-6f65cc4b59bbfe736071e26a56f9601003f75ad3.tar.gz
chromium_src-6f65cc4b59bbfe736071e26a56f9601003f75ad3.tar.bz2
AwContentClient no longer extends ContentViewClient
This keeps the layers better isolated, and avoids the aw embedder having to use content layer classes directly. BUG= Review URL: https://chromiumcodereview.appspot.com/13136002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197181 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/test')
-rw-r--r--android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java b/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java
index e3cac4a..0264089 100644
--- a/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java
+++ b/android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java
@@ -27,7 +27,7 @@ import org.chromium.android_webview.JsResultReceiver;
*/
public class NullContentsClient extends AwContentsClient {
@Override
- public boolean shouldIgnoreNavigation(String url) {
+ public boolean shouldOverrideUrlLoading(String url) {
return false;
}
@@ -53,6 +53,11 @@ public class NullContentsClient extends AwContentsClient {
}
@Override
+ public boolean shouldOverrideKeyEvent(KeyEvent event) {
+ return false;
+ }
+
+ @Override
public void onLoadResource(String url) {
}
@@ -157,6 +162,10 @@ public class NullContentsClient extends AwContentsClient {
}
@Override
+ public void onReceivedTitle(String title) {
+ }
+
+ @Override
public void onShowCustomView(View view, WebChromeClient.CustomViewCallback callback) {
}