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

Unified Diff: content/browser/android/content_view_client.h

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/browser/android/content_view_client.h
diff --git a/content/browser/android/content_view_client.h b/content/browser/android/content_view_client.h
index fadec83126353a81cc7431e35d4c678f8d513b6e..aa23e2f9017c072316843e12e314db3218947278 100644
--- a/content/browser/android/content_view_client.h
+++ b/content/browser/android/content_view_client.h
@@ -91,11 +91,12 @@ class ContentViewClient : public WebContentsDelegate {
void SetJavaScriptDialogCreator(
JavaScriptDialogCreator* javascript_dialog_creator);
- bool OnJSModalDialog(JavaScriptMessageType type,
+ bool OnJsModalDialog(JavaScriptMessageType type,
bool is_before_unload_dialog,
const GURL& url,
const string16& message,
- const string16& default_value);
+ const string16& default_value,
+ jobject js_result);
// Returns the actual load progress, a value between 0 (nothing loaded) and
// 1 (page fully loaded).

Powered by Google App Engine
This is Rietveld 408576698