OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/android/chrome_jni_registrar.h" | 5 #include "chrome/browser/android/chrome_jni_registrar.h" |
6 | 6 |
7 #include "base/android/jni_android.h" | 7 #include "base/android/jni_android.h" |
8 #include "base/android/jni_registrar.h" | 8 #include "base/android/jni_registrar.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/trace_event/trace_event.h" | 10 #include "base/trace_event/trace_event.h" |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 #include "chrome/browser/ui/android/autofill/autofill_popup_view_android.h" | 138 #include "chrome/browser/ui/android/autofill/autofill_popup_view_android.h" |
139 #include "chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h" | 139 #include "chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h" |
140 #include "chrome/browser/ui/android/autofill/credit_card_scanner_view_android.h" | 140 #include "chrome/browser/ui/android/autofill/credit_card_scanner_view_android.h" |
141 #include "chrome/browser/ui/android/autofill/password_generation_popup_view_andr
oid.h" | 141 #include "chrome/browser/ui/android/autofill/password_generation_popup_view_andr
oid.h" |
142 #include "chrome/browser/ui/android/bluetooth_chooser_android.h" | 142 #include "chrome/browser/ui/android/bluetooth_chooser_android.h" |
143 #include "chrome/browser/ui/android/certificate_viewer_android.h" | 143 #include "chrome/browser/ui/android/certificate_viewer_android.h" |
144 #include "chrome/browser/ui/android/chrome_http_auth_handler.h" | 144 #include "chrome/browser/ui/android/chrome_http_auth_handler.h" |
145 #include "chrome/browser/ui/android/connection_info_popup_android.h" | 145 #include "chrome/browser/ui/android/connection_info_popup_android.h" |
146 #include "chrome/browser/ui/android/context_menu_helper.h" | 146 #include "chrome/browser/ui/android/context_menu_helper.h" |
147 #include "chrome/browser/ui/android/infobars/app_banner_infobar_android.h" | 147 #include "chrome/browser/ui/android/infobars/app_banner_infobar_android.h" |
| 148 #include "chrome/browser/ui/android/infobars/autofill_credit_card_filling_infoba
r.h" |
148 #include "chrome/browser/ui/android/infobars/autofill_save_card_infobar.h" | 149 #include "chrome/browser/ui/android/infobars/autofill_save_card_infobar.h" |
149 #include "chrome/browser/ui/android/infobars/confirm_infobar.h" | 150 #include "chrome/browser/ui/android/infobars/confirm_infobar.h" |
150 #include "chrome/browser/ui/android/infobars/download_overwrite_infobar.h" | 151 #include "chrome/browser/ui/android/infobars/download_overwrite_infobar.h" |
151 #include "chrome/browser/ui/android/infobars/generated_password_saved_infobar.h" | 152 #include "chrome/browser/ui/android/infobars/generated_password_saved_infobar.h" |
152 #include "chrome/browser/ui/android/infobars/grouped_permission_infobar.h" | 153 #include "chrome/browser/ui/android/infobars/grouped_permission_infobar.h" |
153 #include "chrome/browser/ui/android/infobars/infobar_android.h" | 154 #include "chrome/browser/ui/android/infobars/infobar_android.h" |
154 #include "chrome/browser/ui/android/infobars/infobar_container_android.h" | 155 #include "chrome/browser/ui/android/infobars/infobar_container_android.h" |
155 #include "chrome/browser/ui/android/infobars/save_password_infobar.h" | 156 #include "chrome/browser/ui/android/infobars/save_password_infobar.h" |
156 #include "chrome/browser/ui/android/infobars/simple_confirm_infobar_builder.h" | 157 #include "chrome/browser/ui/android/infobars/simple_confirm_infobar_builder.h" |
157 #include "chrome/browser/ui/android/infobars/translate_infobar.h" | 158 #include "chrome/browser/ui/android/infobars/translate_infobar.h" |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 {"AddToHomescreenDialogHelper", | 214 {"AddToHomescreenDialogHelper", |
214 AddToHomescreenDialogHelper::RegisterAddToHomescreenDialogHelper}, | 215 AddToHomescreenDialogHelper::RegisterAddToHomescreenDialogHelper}, |
215 {"AfterStartupTaskUtils", RegisterAfterStartupTaskUtilsJNI}, | 216 {"AfterStartupTaskUtils", RegisterAfterStartupTaskUtilsJNI}, |
216 {"AnswersImageBridge", RegisterAnswersImageBridge}, | 217 {"AnswersImageBridge", RegisterAnswersImageBridge}, |
217 {"AppBannerInfoBarAndroid", RegisterAppBannerInfoBarAndroid}, | 218 {"AppBannerInfoBarAndroid", RegisterAppBannerInfoBarAndroid}, |
218 {"AppBannerInfoBarDelegateAndroid", | 219 {"AppBannerInfoBarDelegateAndroid", |
219 banners::RegisterAppBannerInfoBarDelegateAndroid}, | 220 banners::RegisterAppBannerInfoBarDelegateAndroid}, |
220 {"AppBannerManagerAndroid", banners::AppBannerManagerAndroid::Register}, | 221 {"AppBannerManagerAndroid", banners::AppBannerManagerAndroid::Register}, |
221 {"ApplicationLifetime", RegisterApplicationLifetimeAndroid}, | 222 {"ApplicationLifetime", RegisterApplicationLifetimeAndroid}, |
222 {"AutocompleteControllerAndroid", RegisterAutocompleteControllerAndroid}, | 223 {"AutocompleteControllerAndroid", RegisterAutocompleteControllerAndroid}, |
| 224 {"AutofillCreditCardFillingInfoBar", |
| 225 AutofillCreditCardFillingInfoBar::Register}, |
223 {"AutofillSaveCardInfoBar", AutofillSaveCardInfoBar::Register}, | 226 {"AutofillSaveCardInfoBar", AutofillSaveCardInfoBar::Register}, |
224 {"AutofillKeyboardAccessory", autofill::AutofillKeyboardAccessoryView:: | 227 {"AutofillKeyboardAccessory", autofill::AutofillKeyboardAccessoryView:: |
225 RegisterAutofillKeyboardAccessoryView}, | 228 RegisterAutofillKeyboardAccessoryView}, |
226 {"AutofillLoggerAndroid", autofill::AutofillLoggerAndroid::Register}, | 229 {"AutofillLoggerAndroid", autofill::AutofillLoggerAndroid::Register}, |
227 {"AutofillPopup", | 230 {"AutofillPopup", |
228 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid}, | 231 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid}, |
229 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge}, | 232 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge}, |
230 {"AutoSigninSnackbarController", RegisterAutoSigninSnackbarController}, | 233 {"AutoSigninSnackbarController", RegisterAutoSigninSnackbarController}, |
231 {"BackgroundSchedulerBridge", | 234 {"BackgroundSchedulerBridge", |
232 offline_pages::android::RegisterBackgroundSchedulerBridge}, | 235 offline_pages::android::RegisterBackgroundSchedulerBridge}, |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 }; | 409 }; |
407 | 410 |
408 bool RegisterBrowserJNI(JNIEnv* env) { | 411 bool RegisterBrowserJNI(JNIEnv* env) { |
409 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); | 412 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); |
410 return RegisterNativeMethods(env, kChromeRegisteredMethods, | 413 return RegisterNativeMethods(env, kChromeRegisteredMethods, |
411 arraysize(kChromeRegisteredMethods)); | 414 arraysize(kChromeRegisteredMethods)); |
412 } | 415 } |
413 | 416 |
414 } // namespace android | 417 } // namespace android |
415 } // namespace chrome | 418 } // namespace chrome |
OLD | NEW |