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" |
11 #include "chrome/browser/after_startup_task_utils_android.h" | 11 #include "chrome/browser/after_startup_task_utils_android.h" |
12 #include "chrome/browser/android/accessibility/font_size_prefs_android.h" | 12 #include "chrome/browser/android/accessibility/font_size_prefs_android.h" |
13 #include "chrome/browser/android/accessibility_util.h" | 13 #include "chrome/browser/android/accessibility_util.h" |
14 #include "chrome/browser/android/appmenu/app_menu_drag_helper.h" | 14 #include "chrome/browser/android/appmenu/app_menu_drag_helper.h" |
15 #include "chrome/browser/android/background_sync_launcher_android.h" | 15 #include "chrome/browser/android/background_sync_launcher_android.h" |
16 #include "chrome/browser/android/banners/app_banner_infobar_delegate_android.h" | 16 #include "chrome/browser/android/banners/app_banner_infobar_delegate_android.h" |
17 #include "chrome/browser/android/banners/app_banner_manager_android.h" | 17 #include "chrome/browser/android/banners/app_banner_manager_android.h" |
18 #include "chrome/browser/android/bookmarks/bookmarks_bridge.h" | 18 #include "chrome/browser/android/bookmarks/bookmark_bridge.h" |
19 #include "chrome/browser/android/bookmarks/partner_bookmarks_reader.h" | 19 #include "chrome/browser/android/bookmarks/partner_bookmarks_reader.h" |
20 #include "chrome/browser/android/bottombar/overlay_panel_content.h" | 20 #include "chrome/browser/android/bottombar/overlay_panel_content.h" |
21 #include "chrome/browser/android/browsing_data/browsing_data_counter_bridge.h" | 21 #include "chrome/browser/android/browsing_data/browsing_data_counter_bridge.h" |
22 #include "chrome/browser/android/chrome_application.h" | 22 #include "chrome/browser/android/chrome_application.h" |
23 #include "chrome/browser/android/chrome_feature_list.h" | 23 #include "chrome/browser/android/chrome_feature_list.h" |
24 #include "chrome/browser/android/compositor/compositor_view.h" | 24 #include "chrome/browser/android/compositor/compositor_view.h" |
25 #include "chrome/browser/android/compositor/layer_title_cache.h" | 25 #include "chrome/browser/android/compositor/layer_title_cache.h" |
26 #include "chrome/browser/android/compositor/scene_layer/contextual_search_scene_
layer.h" | 26 #include "chrome/browser/android/compositor/scene_layer/contextual_search_scene_
layer.h" |
27 #include "chrome/browser/android/compositor/scene_layer/reader_mode_scene_layer.
h" | 27 #include "chrome/browser/android/compositor/scene_layer/reader_mode_scene_layer.
h" |
28 #include "chrome/browser/android/compositor/scene_layer/scene_layer.h" | 28 #include "chrome/browser/android/compositor/scene_layer/scene_layer.h" |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 {"AutofillKeyboardAccessory", autofill::AutofillKeyboardAccessoryView:: | 216 {"AutofillKeyboardAccessory", autofill::AutofillKeyboardAccessoryView:: |
217 RegisterAutofillKeyboardAccessoryView}, | 217 RegisterAutofillKeyboardAccessoryView}, |
218 {"AutofillLoggerAndroid", autofill::AutofillLoggerAndroid::Register}, | 218 {"AutofillLoggerAndroid", autofill::AutofillLoggerAndroid::Register}, |
219 {"AutofillPopup", | 219 {"AutofillPopup", |
220 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid}, | 220 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid}, |
221 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge}, | 221 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge}, |
222 {"AutoSigninSnackbarController", RegisterAutoSigninSnackbarController}, | 222 {"AutoSigninSnackbarController", RegisterAutoSigninSnackbarController}, |
223 {"BackgroundSyncLauncherAndroid", | 223 {"BackgroundSyncLauncherAndroid", |
224 BackgroundSyncLauncherAndroid::RegisterLauncher}, | 224 BackgroundSyncLauncherAndroid::RegisterLauncher}, |
225 {"BluetoothChooserAndroid", BluetoothChooserAndroid::Register}, | 225 {"BluetoothChooserAndroid", BluetoothChooserAndroid::Register}, |
226 {"BookmarksBridge", BookmarksBridge::RegisterBookmarksBridge}, | 226 {"BookmarkBridge", BookmarkBridge::RegisterBookmarkBridge}, |
227 {"BrowsingDataCounterBridge", BrowsingDataCounterBridge::Register}, | 227 {"BrowsingDataCounterBridge", BrowsingDataCounterBridge::Register}, |
228 {"CardUnmaskPrompt", autofill::CardUnmaskPromptViewAndroid::Register}, | 228 {"CardUnmaskPrompt", autofill::CardUnmaskPromptViewAndroid::Register}, |
229 {"CertificateViewer", RegisterCertificateViewer}, | 229 {"CertificateViewer", RegisterCertificateViewer}, |
230 {"ChildAccountFeedbackReporter", RegisterChildAccountFeedbackReporter}, | 230 {"ChildAccountFeedbackReporter", RegisterChildAccountFeedbackReporter}, |
231 {"ChildAccountService", RegisterChildAccountService}, | 231 {"ChildAccountService", RegisterChildAccountService}, |
232 {"ChromeApplication", ChromeApplication::RegisterBindings}, | 232 {"ChromeApplication", ChromeApplication::RegisterBindings}, |
233 {"ChromeBrowserProvider", | 233 {"ChromeBrowserProvider", |
234 ChromeBrowserProvider::RegisterChromeBrowserProvider}, | 234 ChromeBrowserProvider::RegisterChromeBrowserProvider}, |
235 {"ChromeFeatureList", RegisterChromeFeatureListJni}, | 235 {"ChromeFeatureList", RegisterChromeFeatureListJni}, |
236 {"ChromeHttpAuthHandler", | 236 {"ChromeHttpAuthHandler", |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 }; | 383 }; |
384 | 384 |
385 bool RegisterBrowserJNI(JNIEnv* env) { | 385 bool RegisterBrowserJNI(JNIEnv* env) { |
386 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); | 386 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); |
387 return RegisterNativeMethods(env, kChromeRegisteredMethods, | 387 return RegisterNativeMethods(env, kChromeRegisteredMethods, |
388 arraysize(kChromeRegisteredMethods)); | 388 arraysize(kChromeRegisteredMethods)); |
389 } | 389 } |
390 | 390 |
391 } // namespace android | 391 } // namespace android |
392 } // namespace chrome | 392 } // namespace chrome |
OLD | NEW |