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

Unified Diff: chrome/browser/android/chrome_jni_registrar.cc

Issue 10823340: [Android] Upstream Modal Dialogs functionality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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: chrome/browser/android/chrome_jni_registrar.cc
diff --git a/chrome/browser/android/chrome_jni_registrar.cc b/chrome/browser/android/chrome_jni_registrar.cc
index a5e9a1eee32a2b626c78c985ec6d5bd94dc51ceb..a768c2220bddb495084b87102e43dd56ea114870 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -11,6 +11,7 @@
#include "chrome/browser/android/process_utils.h"
#include "chrome/browser/component/web_contents_delegate_android/component_jni_registrar.h"
#include "chrome/browser/history/android/sqlite_cursor.h"
+#include "chrome/browser/ui/android/javascript_app_modal_dialog_android.h"
namespace chrome {
namespace android {
@@ -18,6 +19,8 @@ namespace android {
static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
{ "ContentViewUtil", RegisterContentViewUtil },
{ "IntentHelper", RegisterIntentHelper },
+ { "JavascriptAppModalDialog",
+ JavascriptAppModalDialogAndroid::RegisterJavascriptAppModalDialog },
{ "ProcessUtils", RegisterProcessUtils },
{ "SqliteCursor", SQLiteCursor::RegisterSqliteCursor},
};

Powered by Google App Engine
This is Rietveld 408576698