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/debug/trace_event.h" | 9 #include "base/debug/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" |
11 #include "chrome/browser/android/accessibility_util.h" | 11 #include "chrome/browser/android/accessibility_util.h" |
12 #include "chrome/browser/android/banners/app_banner_manager.h" | 12 #include "chrome/browser/android/banners/app_banner_manager.h" |
13 #include "chrome/browser/android/bookmarks/bookmarks_bridge.h" | 13 #include "chrome/browser/android/bookmarks/bookmarks_bridge.h" |
14 #include "chrome/browser/android/browser_version.h" | |
15 #include "chrome/browser/android/chrome_web_contents_delegate_android.h" | 14 #include "chrome/browser/android/chrome_web_contents_delegate_android.h" |
16 #include "chrome/browser/android/chromium_application.h" | 15 #include "chrome/browser/android/chromium_application.h" |
17 #include "chrome/browser/android/content_view_util.h" | 16 #include "chrome/browser/android/content_view_util.h" |
18 #include "chrome/browser/android/dev_tools_server.h" | 17 #include "chrome/browser/android/dev_tools_server.h" |
19 #include "chrome/browser/android/dom_distiller/feedback_reporter_android.h" | 18 #include "chrome/browser/android/dom_distiller/feedback_reporter_android.h" |
20 #include "chrome/browser/android/enhanced_bookmarks/enhanced_bookmarks_bridge.h" | 19 #include "chrome/browser/android/enhanced_bookmarks/enhanced_bookmarks_bridge.h" |
21 #include "chrome/browser/android/favicon_helper.h" | 20 #include "chrome/browser/android/favicon_helper.h" |
22 #include "chrome/browser/android/foreign_session_helper.h" | 21 #include "chrome/browser/android/foreign_session_helper.h" |
23 #include "chrome/browser/android/intent_helper.h" | 22 #include "chrome/browser/android/intent_helper.h" |
24 #include "chrome/browser/android/logo_bridge.h" | 23 #include "chrome/browser/android/logo_bridge.h" |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 autofill::AutofillDialogControllerAndroid:: | 112 autofill::AutofillDialogControllerAndroid:: |
114 RegisterAutofillDialogControllerAndroid }, | 113 RegisterAutofillDialogControllerAndroid }, |
115 { "AutofillDialogResult", | 114 { "AutofillDialogResult", |
116 autofill::AutofillDialogResult::RegisterAutofillDialogResult }, | 115 autofill::AutofillDialogResult::RegisterAutofillDialogResult }, |
117 { "AutofillLoggerAndroid", | 116 { "AutofillLoggerAndroid", |
118 autofill::AutofillLoggerAndroid::Register }, | 117 autofill::AutofillLoggerAndroid::Register }, |
119 { "AutofillPopup", | 118 { "AutofillPopup", |
120 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid }, | 119 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid }, |
121 { "AutoLoginDelegate", AutoLoginInfoBarDelegateAndroid::Register }, | 120 { "AutoLoginDelegate", AutoLoginInfoBarDelegateAndroid::Register }, |
122 { "BookmarksBridge", BookmarksBridge::RegisterBookmarksBridge }, | 121 { "BookmarksBridge", BookmarksBridge::RegisterBookmarksBridge }, |
123 { "BrowserVersion", RegisterBrowserVersion }, | |
124 { "CertificateViewer", RegisterCertificateViewer }, | 122 { "CertificateViewer", RegisterCertificateViewer }, |
125 { "ChromeBrowserProvider", | 123 { "ChromeBrowserProvider", |
126 ChromeBrowserProvider::RegisterChromeBrowserProvider }, | 124 ChromeBrowserProvider::RegisterChromeBrowserProvider }, |
127 { "ChromeHttpAuthHandler", | 125 { "ChromeHttpAuthHandler", |
128 ChromeHttpAuthHandler::RegisterChromeHttpAuthHandler }, | 126 ChromeHttpAuthHandler::RegisterChromeHttpAuthHandler }, |
129 { "ChromeWebContentsDelegateAndroid", | 127 { "ChromeWebContentsDelegateAndroid", |
130 RegisterChromeWebContentsDelegateAndroid }, | 128 RegisterChromeWebContentsDelegateAndroid }, |
131 { "ChromiumApplication", | 129 { "ChromiumApplication", |
132 ChromiumApplication::RegisterBindings }, | 130 ChromiumApplication::RegisterBindings }, |
133 { "ConfirmInfoBarDelegate", RegisterConfirmInfoBarDelegate }, | 131 { "ConfirmInfoBarDelegate", RegisterConfirmInfoBarDelegate }, |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 }; | 196 }; |
199 | 197 |
200 bool RegisterJni(JNIEnv* env) { | 198 bool RegisterJni(JNIEnv* env) { |
201 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); | 199 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); |
202 return RegisterNativeMethods(env, kChromeRegisteredMethods, | 200 return RegisterNativeMethods(env, kChromeRegisteredMethods, |
203 arraysize(kChromeRegisteredMethods)); | 201 arraysize(kChromeRegisteredMethods)); |
204 } | 202 } |
205 | 203 |
206 } // namespace android | 204 } // namespace android |
207 } // namespace chrome | 205 } // namespace chrome |
OLD | NEW |