Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1582)

Unified Diff: android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java

Issue 13136002: AwContentClient no longer extends ContentViewClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing onScaleChanged call Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/test/shell/src/org/chromium/android_webview/test/NullContentsClient.java
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 e3cac4a5892bfa7f2ea4ac428d98958eaab199a0..026408955a6eae7ab9bd08da43b7e0c51d176c44 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) {
}
« no previous file with comments | « android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698