| 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/find_in_page/find_in_page_bridge.h" | 21 #include "chrome/browser/android/find_in_page/find_in_page_bridge.h" |
| 23 #include "chrome/browser/android/foreign_session_helper.h" | 22 #include "chrome/browser/android/foreign_session_helper.h" |
| 24 #include "chrome/browser/android/intent_helper.h" | 23 #include "chrome/browser/android/intent_helper.h" |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 autofill::AutofillDialogControllerAndroid:: | 111 autofill::AutofillDialogControllerAndroid:: |
| 113 RegisterAutofillDialogControllerAndroid }, | 112 RegisterAutofillDialogControllerAndroid }, |
| 114 { "AutofillDialogResult", | 113 { "AutofillDialogResult", |
| 115 autofill::AutofillDialogResult::RegisterAutofillDialogResult }, | 114 autofill::AutofillDialogResult::RegisterAutofillDialogResult }, |
| 116 { "AutofillLoggerAndroid", | 115 { "AutofillLoggerAndroid", |
| 117 autofill::AutofillLoggerAndroid::Register }, | 116 autofill::AutofillLoggerAndroid::Register }, |
| 118 { "AutofillPopup", | 117 { "AutofillPopup", |
| 119 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid }, | 118 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid }, |
| 120 { "AutoLoginDelegate", AutoLoginInfoBarDelegateAndroid::Register }, | 119 { "AutoLoginDelegate", AutoLoginInfoBarDelegateAndroid::Register }, |
| 121 { "BookmarksBridge", BookmarksBridge::RegisterBookmarksBridge }, | 120 { "BookmarksBridge", BookmarksBridge::RegisterBookmarksBridge }, |
| 122 { "BrowserVersion", RegisterBrowserVersion }, | |
| 123 { "CertificateViewer", RegisterCertificateViewer }, | 121 { "CertificateViewer", RegisterCertificateViewer }, |
| 124 { "ChromeBrowserProvider", | 122 { "ChromeBrowserProvider", |
| 125 ChromeBrowserProvider::RegisterChromeBrowserProvider }, | 123 ChromeBrowserProvider::RegisterChromeBrowserProvider }, |
| 126 { "ChromeHttpAuthHandler", | 124 { "ChromeHttpAuthHandler", |
| 127 ChromeHttpAuthHandler::RegisterChromeHttpAuthHandler }, | 125 ChromeHttpAuthHandler::RegisterChromeHttpAuthHandler }, |
| 128 { "ChromeWebContentsDelegateAndroid", | 126 { "ChromeWebContentsDelegateAndroid", |
| 129 RegisterChromeWebContentsDelegateAndroid }, | 127 RegisterChromeWebContentsDelegateAndroid }, |
| 130 { "ChromiumApplication", | 128 { "ChromiumApplication", |
| 131 ChromiumApplication::RegisterBindings }, | 129 ChromiumApplication::RegisterBindings }, |
| 132 { "ConfirmInfoBarDelegate", RegisterConfirmInfoBarDelegate }, | 130 { "ConfirmInfoBarDelegate", RegisterConfirmInfoBarDelegate }, |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 }; | 193 }; |
| 196 | 194 |
| 197 bool RegisterJni(JNIEnv* env) { | 195 bool RegisterJni(JNIEnv* env) { |
| 198 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); | 196 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); |
| 199 return RegisterNativeMethods(env, kChromeRegisteredMethods, | 197 return RegisterNativeMethods(env, kChromeRegisteredMethods, |
| 200 arraysize(kChromeRegisteredMethods)); | 198 arraysize(kChromeRegisteredMethods)); |
| 201 } | 199 } |
| 202 | 200 |
| 203 } // namespace android | 201 } // namespace android |
| 204 } // namespace chrome | 202 } // namespace chrome |
| OLD | NEW |