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

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

Issue 10907166: Upstream chromium side of modal dialogs for webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « content/browser/android/content_view_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8f3b2b6df01437f6340ab37e08f579bdba10a9c7..23ede97a67ea1408b2a93e81dff3c36894fc3e94 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
@@ -142,30 +142,6 @@ public class ContentViewClient {
public void onImeEvent() {
}
- // Return true if the client will handle the JS alert.
- @CalledByNative
- public boolean onJsAlert(String url, String Message) {
- return false;
- }
-
- // Return true if the client will handle the JS before unload dialog.
- @CalledByNative
- public boolean onJsBeforeUnload(String url, String message) {
- return false;
- }
-
- // Return true if the client will handle the JS confirmation prompt.
- @CalledByNative
- public boolean onJsConfirm(String url, String message) {
- return false;
- }
-
- // Return true if the client will handle the JS prompt dialog.
- @CalledByNative
- public boolean onJsPrompt(String url, String message, String defaultValue) {
- return false;
- }
-
/**
* A callback invoked after the JavaScript code passed to evaluateJavaScript
* has finished execution.
« no previous file with comments | « content/browser/android/content_view_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698