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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java

Issue 10823340: [Android] Upstream Modal Dialogs functionality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
Index: content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
index af204ace6a6f2b7a9a74507ac3abeffcca96a0f6..f71083778d728b201cb57648224489283ba21ae2 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewClient.java
@@ -212,25 +212,26 @@ public class ContentViewClient {
// Return true if the client will handle the JS alert.
@CalledByNative
- public boolean onJsAlert(String url, String Message) {
+ public boolean onJsAlert(String url, String Message, JsResultReceiver receiver) {
joth 2012/08/15 06:11:25 maybe we mark all these @deprecated, with comment
return false;
}
// Return true if the client will handle the JS before unload dialog.
@CalledByNative
- public boolean onJsBeforeUnload(String url, String message) {
+ public boolean onJsBeforeUnload(String url, String message, JsResultReceiver receiver) {
return false;
}
// Return true if the client will handle the JS confirmation prompt.
@CalledByNative
- public boolean onJsConfirm(String url, String message) {
+ public boolean onJsConfirm(String url, String message, JsResultReceiver receiver) {
return false;
}
// Return true if the client will handle the JS prompt dialog.
@CalledByNative
- public boolean onJsPrompt(String url, String message, String defaultValue) {
+ public boolean onJsPrompt(String url, String message, String defaultValue,
+ JsPromptResultReceiver receiver) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698