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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.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 | « no previous file | android_webview/java/src/org/chromium/android_webview/AwContentsClient.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/java/src/org/chromium/android_webview/AwContents.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
index 0481380996096e2664edfce53789d9d95776f335..6f5164d937e0bd58b3da3b4e999eb47b88f7045d 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -120,6 +120,27 @@ public class AwContents {
mContentsClient.onReceivedHttpAuthRequest(handler, host, realm);
}
+ @CalledByNative
+ private void handleJsAlert(String url, String message, JsResultReceiver receiver) {
+ mContentsClient.handleJsAlert(url, message, receiver);
+ }
+
+ @CalledByNative
+ private void handleJsBeforeUnload(String url, String message, JsResultReceiver receiver) {
+ mContentsClient.handleJsBeforeUnload(url, message, receiver);
+ }
+
+ @CalledByNative
+ private void handleJsConfirm(String url, String message, JsResultReceiver receiver) {
+ mContentsClient.handleJsConfirm(url, message, receiver);
+ }
+
+ @CalledByNative
+ private void handleJsPrompt(String url, String message, String defaultValue,
+ JsPromptResultReceiver receiver) {
+ mContentsClient.handleJsPrompt(url, message, defaultValue, receiver);
+ }
+
//--------------------------------------------------------------------------------------------
// Native methods
//--------------------------------------------------------------------------------------------
« no previous file with comments | « no previous file | android_webview/java/src/org/chromium/android_webview/AwContentsClient.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698