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/trace_event/trace_event.h" | 9 #include "base/trace_event/trace_event.h" |
10 #include "chrome/browser/android/accessibility/font_size_prefs_android.h" | 10 #include "chrome/browser/android/accessibility/font_size_prefs_android.h" |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 #include "chrome/browser/media/android/remote/record_cast_action.h" | 71 #include "chrome/browser/media/android/remote/record_cast_action.h" |
72 #include "chrome/browser/media/android/remote/remote_media_player_bridge.h" | 72 #include "chrome/browser/media/android/remote/remote_media_player_bridge.h" |
73 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h" | 73 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.h" |
74 #include "chrome/browser/notifications/notification_ui_manager_android.h" | 74 #include "chrome/browser/notifications/notification_ui_manager_android.h" |
75 #include "chrome/browser/password_manager/credential_android.h" | 75 #include "chrome/browser/password_manager/credential_android.h" |
76 #include "chrome/browser/prerender/external_prerender_handler_android.h" | 76 #include "chrome/browser/prerender/external_prerender_handler_android.h" |
77 #include "chrome/browser/profiles/profile_android.h" | 77 #include "chrome/browser/profiles/profile_android.h" |
78 #include "chrome/browser/search_engines/template_url_service_android.h" | 78 #include "chrome/browser/search_engines/template_url_service_android.h" |
79 #include "chrome/browser/signin/android_profile_oauth2_token_service.h" | 79 #include "chrome/browser/signin/android_profile_oauth2_token_service.h" |
80 #include "chrome/browser/speech/tts_android.h" | 80 #include "chrome/browser/speech/tts_android.h" |
81 #include "chrome/browser/ssl/connection_security_helper_android.h" | |
82 #include "chrome/browser/supervised_user/child_accounts/child_account_feedback_r
eporter_android.h" | 81 #include "chrome/browser/supervised_user/child_accounts/child_account_feedback_r
eporter_android.h" |
83 #include "chrome/browser/supervised_user/child_accounts/child_account_service_an
droid.h" | 82 #include "chrome/browser/supervised_user/child_accounts/child_account_service_an
droid.h" |
84 #include "chrome/browser/sync/profile_sync_service_android.h" | 83 #include "chrome/browser/sync/profile_sync_service_android.h" |
85 #include "chrome/browser/ui/android/autofill/autofill_dialog_controller_android.
h" | 84 #include "chrome/browser/ui/android/autofill/autofill_dialog_controller_android.
h" |
86 #include "chrome/browser/ui/android/autofill/autofill_dialog_result.h" | 85 #include "chrome/browser/ui/android/autofill/autofill_dialog_result.h" |
87 #include "chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h" | 86 #include "chrome/browser/ui/android/autofill/autofill_keyboard_accessory_view.h" |
88 #include "chrome/browser/ui/android/autofill/autofill_logger_android.h" | 87 #include "chrome/browser/ui/android/autofill/autofill_logger_android.h" |
89 #include "chrome/browser/ui/android/autofill/autofill_popup_view_android.h" | 88 #include "chrome/browser/ui/android/autofill/autofill_popup_view_android.h" |
90 #include "chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h" | 89 #include "chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h" |
91 #include "chrome/browser/ui/android/autofill/credit_card_scanner_view_android.h" | 90 #include "chrome/browser/ui/android/autofill/credit_card_scanner_view_android.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 {"ChromeBrowserProvider", | 172 {"ChromeBrowserProvider", |
174 ChromeBrowserProvider::RegisterChromeBrowserProvider}, | 173 ChromeBrowserProvider::RegisterChromeBrowserProvider}, |
175 {"ChromeHttpAuthHandler", | 174 {"ChromeHttpAuthHandler", |
176 ChromeHttpAuthHandler::RegisterChromeHttpAuthHandler}, | 175 ChromeHttpAuthHandler::RegisterChromeHttpAuthHandler}, |
177 {"ChromeWebContentsDelegateAndroid", | 176 {"ChromeWebContentsDelegateAndroid", |
178 RegisterChromeWebContentsDelegateAndroid}, | 177 RegisterChromeWebContentsDelegateAndroid}, |
179 {"ChromiumApplication", ChromiumApplication::RegisterBindings}, | 178 {"ChromiumApplication", ChromiumApplication::RegisterBindings}, |
180 {"ConfirmInfoBarDelegate", RegisterConfirmInfoBarDelegate}, | 179 {"ConfirmInfoBarDelegate", RegisterConfirmInfoBarDelegate}, |
181 {"ConnectionInfoPopupAndroid", | 180 {"ConnectionInfoPopupAndroid", |
182 ConnectionInfoPopupAndroid::RegisterConnectionInfoPopupAndroid}, | 181 ConnectionInfoPopupAndroid::RegisterConnectionInfoPopupAndroid}, |
183 {"ConnectionSecurityHelper", RegisterConnectionSecurityHelperAndroid}, | |
184 {"ContentViewUtil", RegisterContentViewUtil}, | 182 {"ContentViewUtil", RegisterContentViewUtil}, |
185 {"ContextMenuHelper", RegisterContextMenuHelper}, | 183 {"ContextMenuHelper", RegisterContextMenuHelper}, |
186 {"CookiesFetcher", RegisterCookiesFetcher}, | 184 {"CookiesFetcher", RegisterCookiesFetcher}, |
187 {"Credential", RegisterCredential}, | 185 {"Credential", RegisterCredential}, |
188 {"CreditCardScanner", autofill::CreditCardScannerViewAndroid::Register}, | 186 {"CreditCardScanner", autofill::CreditCardScannerViewAndroid::Register}, |
189 {"DataReductionProxyInfoBarDelegate", DataReductionProxyInfoBar::Register}, | 187 {"DataReductionProxyInfoBarDelegate", DataReductionProxyInfoBar::Register}, |
190 {"DataReductionProxySettings", DataReductionProxySettingsAndroid::Register}, | 188 {"DataReductionProxySettings", DataReductionProxySettingsAndroid::Register}, |
191 {"DevToolsServer", RegisterDevToolsServer}, | 189 {"DevToolsServer", RegisterDevToolsServer}, |
192 {"DomDistillerServiceFactory", | 190 {"DomDistillerServiceFactory", |
193 dom_distiller::android::DomDistillerServiceFactoryAndroid::Register}, | 191 dom_distiller::android::DomDistillerServiceFactoryAndroid::Register}, |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 }; | 281 }; |
284 | 282 |
285 bool RegisterBrowserJNI(JNIEnv* env) { | 283 bool RegisterBrowserJNI(JNIEnv* env) { |
286 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); | 284 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); |
287 return RegisterNativeMethods(env, kChromeRegisteredMethods, | 285 return RegisterNativeMethods(env, kChromeRegisteredMethods, |
288 arraysize(kChromeRegisteredMethods)); | 286 arraysize(kChromeRegisteredMethods)); |
289 } | 287 } |
290 | 288 |
291 } // namespace android | 289 } // namespace android |
292 } // namespace chrome | 290 } // namespace chrome |
OLD | NEW |