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

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

Issue 11362183: [Android WebView] AwContentsClient.shouldCreateWindow callback part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase for landing Created 8 years, 1 month 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
Index: android_webview/javatests/src/org/chromium/android_webview/test/NullContentsClient.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/NullContentsClient.java b/android_webview/javatests/src/org/chromium/android_webview/test/NullContentsClient.java
index 594b322ecbfdd083e6d9aefdc3275cfcfedc3c56..9245f7fd475d0290971f9bbb10a5673a715e81dd 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/NullContentsClient.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/NullContentsClient.java
@@ -90,4 +90,9 @@ class NullContentsClient extends AwContentsClient {
public void onFormResubmission(Message dontResend, Message resend) {
dontResend.sendToTarget();
}
+
+ @Override
+ public boolean onCreateWindow(boolean isDialog, boolean isUserGesture) {
+ return false;
+ }
}

Powered by Google App Engine
This is Rietveld 408576698