| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 #include "chrome/browser/search_engines/template_url_service_android.h" | 120 #include "chrome/browser/search_engines/template_url_service_android.h" |
| 121 #include "chrome/browser/signin/oauth2_token_service_delegate_android.h" | 121 #include "chrome/browser/signin/oauth2_token_service_delegate_android.h" |
| 122 #include "chrome/browser/speech/tts_android.h" | 122 #include "chrome/browser/speech/tts_android.h" |
| 123 #include "chrome/browser/spellchecker/spellchecker_session_bridge_android.h" | 123 #include "chrome/browser/spellchecker/spellchecker_session_bridge_android.h" |
| 124 #include "chrome/browser/ssl/security_state_model_android.h" | 124 #include "chrome/browser/ssl/security_state_model_android.h" |
| 125 #include "chrome/browser/supervised_user/child_accounts/child_account_feedback_r
eporter_android.h" | 125 #include "chrome/browser/supervised_user/child_accounts/child_account_feedback_r
eporter_android.h" |
| 126 #include "chrome/browser/supervised_user/child_accounts/child_account_service_an
droid.h" | 126 #include "chrome/browser/supervised_user/child_accounts/child_account_service_an
droid.h" |
| 127 #include "chrome/browser/supervised_user/supervised_user_content_provider_androi
d.h" | 127 #include "chrome/browser/supervised_user/supervised_user_content_provider_androi
d.h" |
| 128 #include "chrome/browser/sync/profile_sync_service_android.h" | 128 #include "chrome/browser/sync/profile_sync_service_android.h" |
| 129 #include "chrome/browser/sync/sync_sessions_metrics_android.h" | 129 #include "chrome/browser/sync/sync_sessions_metrics_android.h" |
| 130 #include "chrome/browser/ui/android/autofill/autofill_dialog_controller_android.
h" | |
| 131 #include "chrome/browser/ui/android/autofill/autofill_dialog_result.h" | |
| 132 #include "chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h" | 130 #include "chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h" |
| 133 #include "chrome/browser/ui/android/autofill/autofill_logger_android.h" | 131 #include "chrome/browser/ui/android/autofill/autofill_logger_android.h" |
| 134 #include "chrome/browser/ui/android/autofill/autofill_popup_view_android.h" | 132 #include "chrome/browser/ui/android/autofill/autofill_popup_view_android.h" |
| 135 #include "chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h" | 133 #include "chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h" |
| 136 #include "chrome/browser/ui/android/autofill/credit_card_scanner_view_android.h" | 134 #include "chrome/browser/ui/android/autofill/credit_card_scanner_view_android.h" |
| 137 #include "chrome/browser/ui/android/autofill/password_generation_popup_view_andr
oid.h" | 135 #include "chrome/browser/ui/android/autofill/password_generation_popup_view_andr
oid.h" |
| 138 #include "chrome/browser/ui/android/bluetooth_chooser_android.h" | 136 #include "chrome/browser/ui/android/bluetooth_chooser_android.h" |
| 139 #include "chrome/browser/ui/android/certificate_viewer_android.h" | 137 #include "chrome/browser/ui/android/certificate_viewer_android.h" |
| 140 #include "chrome/browser/ui/android/chrome_http_auth_handler.h" | 138 #include "chrome/browser/ui/android/chrome_http_auth_handler.h" |
| 141 #include "chrome/browser/ui/android/connection_info_popup_android.h" | 139 #include "chrome/browser/ui/android/connection_info_popup_android.h" |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 AddToHomescreenDialogHelper::RegisterAddToHomescreenDialogHelper}, | 209 AddToHomescreenDialogHelper::RegisterAddToHomescreenDialogHelper}, |
| 212 {"AfterStartupTaskUtils", RegisterAfterStartupTaskUtilsJNI}, | 210 {"AfterStartupTaskUtils", RegisterAfterStartupTaskUtilsJNI}, |
| 213 {"AnswersImageBridge", RegisterAnswersImageBridge}, | 211 {"AnswersImageBridge", RegisterAnswersImageBridge}, |
| 214 {"AppBannerInfoBarAndroid", RegisterAppBannerInfoBarAndroid}, | 212 {"AppBannerInfoBarAndroid", RegisterAppBannerInfoBarAndroid}, |
| 215 {"AppBannerInfoBarDelegateAndroid", | 213 {"AppBannerInfoBarDelegateAndroid", |
| 216 banners::RegisterAppBannerInfoBarDelegateAndroid}, | 214 banners::RegisterAppBannerInfoBarDelegateAndroid}, |
| 217 {"AppBannerManagerAndroid", banners::AppBannerManagerAndroid::Register}, | 215 {"AppBannerManagerAndroid", banners::AppBannerManagerAndroid::Register}, |
| 218 {"ApplicationLifetime", RegisterApplicationLifetimeAndroid}, | 216 {"ApplicationLifetime", RegisterApplicationLifetimeAndroid}, |
| 219 {"AutocompleteControllerAndroid", RegisterAutocompleteControllerAndroid}, | 217 {"AutocompleteControllerAndroid", RegisterAutocompleteControllerAndroid}, |
| 220 {"AutofillSaveCardInfoBar", AutofillSaveCardInfoBar::Register}, | 218 {"AutofillSaveCardInfoBar", AutofillSaveCardInfoBar::Register}, |
| 221 {"AutofillDialogControllerAndroid", | |
| 222 autofill::AutofillDialogControllerAndroid:: | |
| 223 RegisterAutofillDialogControllerAndroid}, | |
| 224 {"AutofillDialogResult", | |
| 225 autofill::AutofillDialogResult::RegisterAutofillDialogResult}, | |
| 226 {"AutofillKeyboardAccessory", autofill::AutofillKeyboardAccessoryView:: | 219 {"AutofillKeyboardAccessory", autofill::AutofillKeyboardAccessoryView:: |
| 227 RegisterAutofillKeyboardAccessoryView}, | 220 RegisterAutofillKeyboardAccessoryView}, |
| 228 {"AutofillLoggerAndroid", autofill::AutofillLoggerAndroid::Register}, | 221 {"AutofillLoggerAndroid", autofill::AutofillLoggerAndroid::Register}, |
| 229 {"AutofillPopup", | 222 {"AutofillPopup", |
| 230 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid}, | 223 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid}, |
| 231 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge}, | 224 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge}, |
| 232 {"AutoSigninSnackbarController", RegisterAutoSigninSnackbarController}, | 225 {"AutoSigninSnackbarController", RegisterAutoSigninSnackbarController}, |
| 233 {"BackgroundSchedulerBridge", | 226 {"BackgroundSchedulerBridge", |
| 234 offline_pages::android::RegisterBackgroundSchedulerBridge}, | 227 offline_pages::android::RegisterBackgroundSchedulerBridge}, |
| 235 {"BackgroundSyncLauncherAndroid", | 228 {"BackgroundSyncLauncherAndroid", |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 }; | 395 }; |
| 403 | 396 |
| 404 bool RegisterBrowserJNI(JNIEnv* env) { | 397 bool RegisterBrowserJNI(JNIEnv* env) { |
| 405 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); | 398 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); |
| 406 return RegisterNativeMethods(env, kChromeRegisteredMethods, | 399 return RegisterNativeMethods(env, kChromeRegisteredMethods, |
| 407 arraysize(kChromeRegisteredMethods)); | 400 arraysize(kChromeRegisteredMethods)); |
| 408 } | 401 } |
| 409 | 402 |
| 410 } // namespace android | 403 } // namespace android |
| 411 } // namespace chrome | 404 } // namespace chrome |
| OLD | NEW |