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

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

Issue 2446063002: Implement a modal permission dialog on Android gated by a feature. (Closed)
Patch Set: Move delegate creation and dispatch into constructor Created 4 years, 1 month 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 | « chrome/browser/BUILD.gn ('k') | chrome/browser/permissions/permission_dialog_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bc25123c3a5a07c6c28ab29813d3a02b7dec0178..7abb0b20ddffe108daf97fae955eed70e8f03c6e 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -119,6 +119,7 @@
#include "chrome/browser/notifications/notification_platform_bridge_android.h"
#include "chrome/browser/password_manager/account_chooser_dialog_android.h"
#include "chrome/browser/password_manager/auto_signin_first_run_dialog_android.h"
+#include "chrome/browser/permissions/permission_dialog_delegate.h"
#include "chrome/browser/permissions/permission_update_infobar_delegate_android.h"
#include "chrome/browser/predictors/resource_prefetch_predictor_android.h"
#include "chrome/browser/prerender/external_prerender_handler_android.h"
@@ -331,6 +332,8 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
autofill::PasswordGenerationPopupViewAndroid::Register},
{"PasswordUIViewAndroid",
PasswordUIViewAndroid::RegisterPasswordUIViewAndroid},
+ {"PermissionDialogDelegate",
+ PermissionDialogDelegate::RegisterPermissionDialogDelegate},
{"PermissionUpdateInfoBarDelegate",
PermissionUpdateInfoBarDelegate::RegisterPermissionUpdateInfoBarDelegate},
{"PersonalDataManagerAndroid",
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/permissions/permission_dialog_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698