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/bookmarks_bridge.h" |
19 #include "chrome/browser/android/bookmarks/edit_bookmark_helper.h" | 19 #include "chrome/browser/android/bookmarks/edit_bookmark_helper.h" |
20 #include "chrome/browser/android/bookmarks/partner_bookmarks_reader.h" | 20 #include "chrome/browser/android/bookmarks/partner_bookmarks_reader.h" |
21 #include "chrome/browser/android/bottombar/overlay_panel_content.h" | 21 #include "chrome/browser/android/bottombar/overlay_panel_content.h" |
| 22 #include "chrome/browser/android/browsing_data/browsing_data_counter_bridge.h" |
22 #include "chrome/browser/android/chrome_application.h" | 23 #include "chrome/browser/android/chrome_application.h" |
23 #include "chrome/browser/android/chrome_feature_list.h" | 24 #include "chrome/browser/android/chrome_feature_list.h" |
24 #include "chrome/browser/android/compositor/compositor_view.h" | 25 #include "chrome/browser/android/compositor/compositor_view.h" |
25 #include "chrome/browser/android/compositor/layer_title_cache.h" | 26 #include "chrome/browser/android/compositor/layer_title_cache.h" |
26 #include "chrome/browser/android/compositor/scene_layer/contextual_search_scene_
layer.h" | 27 #include "chrome/browser/android/compositor/scene_layer/contextual_search_scene_
layer.h" |
27 #include "chrome/browser/android/compositor/scene_layer/scene_layer.h" | 28 #include "chrome/browser/android/compositor/scene_layer/scene_layer.h" |
28 #include "chrome/browser/android/compositor/scene_layer/static_tab_scene_layer.h
" | 29 #include "chrome/browser/android/compositor/scene_layer/static_tab_scene_layer.h
" |
29 #include "chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.h" | 30 #include "chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.h" |
30 #include "chrome/browser/android/compositor/scene_layer/tab_strip_scene_layer.h" | 31 #include "chrome/browser/android/compositor/scene_layer/tab_strip_scene_layer.h" |
31 #include "chrome/browser/android/compositor/tab_content_manager.h" | 32 #include "chrome/browser/android/compositor/tab_content_manager.h" |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 RegisterAutofillKeyboardAccessoryView}, | 209 RegisterAutofillKeyboardAccessoryView}, |
209 {"AutofillLoggerAndroid", autofill::AutofillLoggerAndroid::Register}, | 210 {"AutofillLoggerAndroid", autofill::AutofillLoggerAndroid::Register}, |
210 {"AutofillPopup", | 211 {"AutofillPopup", |
211 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid}, | 212 autofill::AutofillPopupViewAndroid::RegisterAutofillPopupViewAndroid}, |
212 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge}, | 213 {"AutofillProfileBridge", autofill::RegisterAutofillProfileBridge}, |
213 {"AutoSigninSnackbarController", RegisterAutoSigninSnackbarController}, | 214 {"AutoSigninSnackbarController", RegisterAutoSigninSnackbarController}, |
214 {"BackgroundSyncLauncherAndroid", | 215 {"BackgroundSyncLauncherAndroid", |
215 BackgroundSyncLauncherAndroid::RegisterLauncher}, | 216 BackgroundSyncLauncherAndroid::RegisterLauncher}, |
216 {"BluetoothChooserAndroid", BluetoothChooserAndroid::Register}, | 217 {"BluetoothChooserAndroid", BluetoothChooserAndroid::Register}, |
217 {"BookmarksBridge", BookmarksBridge::RegisterBookmarksBridge}, | 218 {"BookmarksBridge", BookmarksBridge::RegisterBookmarksBridge}, |
| 219 {"BrowsingDataCounterBridge", BrowsingDataCounterBridge::Register}, |
218 {"CardUnmaskPrompt", autofill::CardUnmaskPromptViewAndroid::Register}, | 220 {"CardUnmaskPrompt", autofill::CardUnmaskPromptViewAndroid::Register}, |
219 {"CertificateViewer", RegisterCertificateViewer}, | 221 {"CertificateViewer", RegisterCertificateViewer}, |
220 {"ChildAccountFeedbackReporter", RegisterChildAccountFeedbackReporter}, | 222 {"ChildAccountFeedbackReporter", RegisterChildAccountFeedbackReporter}, |
221 {"ChildAccountService", RegisterChildAccountService}, | 223 {"ChildAccountService", RegisterChildAccountService}, |
222 {"ChromeApplication", ChromeApplication::RegisterBindings}, | 224 {"ChromeApplication", ChromeApplication::RegisterBindings}, |
223 {"ChromeBrowserProvider", | 225 {"ChromeBrowserProvider", |
224 ChromeBrowserProvider::RegisterChromeBrowserProvider}, | 226 ChromeBrowserProvider::RegisterChromeBrowserProvider}, |
225 {"ChromeFeatureList", RegisterChromeFeatureListJni}, | 227 {"ChromeFeatureList", RegisterChromeFeatureListJni}, |
226 {"ChromeHttpAuthHandler", | 228 {"ChromeHttpAuthHandler", |
227 ChromeHttpAuthHandler::RegisterChromeHttpAuthHandler}, | 229 ChromeHttpAuthHandler::RegisterChromeHttpAuthHandler}, |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 }; | 371 }; |
370 | 372 |
371 bool RegisterBrowserJNI(JNIEnv* env) { | 373 bool RegisterBrowserJNI(JNIEnv* env) { |
372 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); | 374 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); |
373 return RegisterNativeMethods(env, kChromeRegisteredMethods, | 375 return RegisterNativeMethods(env, kChromeRegisteredMethods, |
374 arraysize(kChromeRegisteredMethods)); | 376 arraysize(kChromeRegisteredMethods)); |
375 } | 377 } |
376 | 378 |
377 } // namespace android | 379 } // namespace android |
378 } // namespace chrome | 380 } // namespace chrome |
OLD | NEW |