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 "content/browser/android/browser_jni_registrar.h" | 5 #include "content/browser/android/browser_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 "content/browser/accessibility/browser_accessibility_android.h" | 9 #include "content/browser/accessibility/browser_accessibility_android.h" |
10 #include "content/browser/accessibility/browser_accessibility_manager_android.h" | 10 #include "content/browser/accessibility/browser_accessibility_manager_android.h" |
11 #include "content/browser/android/android_browser_process.h" | 11 #include "content/browser/android/android_browser_process.h" |
12 #include "content/browser/android/browser_startup_config.h" | 12 #include "content/browser/android/browser_startup_controller.h" |
13 #include "content/browser/android/child_process_launcher_android.h" | 13 #include "content/browser/android/child_process_launcher_android.h" |
14 #include "content/browser/android/content_settings.h" | 14 #include "content/browser/android/content_settings.h" |
15 #include "content/browser/android/content_video_view.h" | 15 #include "content/browser/android/content_video_view.h" |
16 #include "content/browser/android/content_view_core_impl.h" | 16 #include "content/browser/android/content_view_core_impl.h" |
17 #include "content/browser/android/content_view_render_view.h" | 17 #include "content/browser/android/content_view_render_view.h" |
18 #include "content/browser/android/content_view_statics.h" | 18 #include "content/browser/android/content_view_statics.h" |
19 #include "content/browser/android/date_time_chooser_android.h" | 19 #include "content/browser/android/date_time_chooser_android.h" |
20 #include "content/browser/android/download_controller_android_impl.h" | 20 #include "content/browser/android/download_controller_android_impl.h" |
21 #include "content/browser/android/interstitial_page_delegate_android.h" | 21 #include "content/browser/android/interstitial_page_delegate_android.h" |
22 #include "content/browser/android/load_url_params.h" | 22 #include "content/browser/android/load_url_params.h" |
(...skipping 12 matching lines...) Expand all Loading... |
35 | 35 |
36 using content::SurfaceTexturePeerBrowserImpl; | 36 using content::SurfaceTexturePeerBrowserImpl; |
37 | 37 |
38 namespace { | 38 namespace { |
39 base::android::RegistrationMethod kContentRegisteredMethods[] = { | 39 base::android::RegistrationMethod kContentRegisteredMethods[] = { |
40 {"AndroidLocationApiAdapter", | 40 {"AndroidLocationApiAdapter", |
41 content::AndroidLocationApiAdapter::RegisterGeolocationService}, | 41 content::AndroidLocationApiAdapter::RegisterGeolocationService}, |
42 {"AndroidBrowserProcess", content::RegisterAndroidBrowserProcess}, | 42 {"AndroidBrowserProcess", content::RegisterAndroidBrowserProcess}, |
43 {"BrowserAccessibilityManager", | 43 {"BrowserAccessibilityManager", |
44 content::RegisterBrowserAccessibilityManager}, | 44 content::RegisterBrowserAccessibilityManager}, |
45 {"BrowserStartupConfiguration", content::RegisterBrowserStartupConfig}, | 45 {"BrowserStartupController", content::RegisterBrowserStartupController}, |
46 {"ChildProcessLauncher", content::RegisterChildProcessLauncher}, | 46 {"ChildProcessLauncher", content::RegisterChildProcessLauncher}, |
47 {"ContentSettings", content::ContentSettings::RegisterContentSettings}, | 47 {"ContentSettings", content::ContentSettings::RegisterContentSettings}, |
48 {"ContentViewRenderView", | 48 {"ContentViewRenderView", |
49 content::ContentViewRenderView::RegisterContentViewRenderView}, | 49 content::ContentViewRenderView::RegisterContentViewRenderView}, |
50 {"ContentVideoView", content::ContentVideoView::RegisterContentVideoView}, | 50 {"ContentVideoView", content::ContentVideoView::RegisterContentVideoView}, |
51 {"ContentViewCore", content::RegisterContentViewCore}, | 51 {"ContentViewCore", content::RegisterContentViewCore}, |
52 {"DataFetcherImplAndroid", content::DataFetcherImplAndroid::Register}, | 52 {"DataFetcherImplAndroid", content::DataFetcherImplAndroid::Register}, |
53 {"DateTimePickerAndroid", content::RegisterDateTimeChooserAndroid}, | 53 {"DateTimePickerAndroid", content::RegisterDateTimeChooserAndroid}, |
54 {"DownloadControllerAndroidImpl", | 54 {"DownloadControllerAndroidImpl", |
55 content::DownloadControllerAndroidImpl::RegisterDownloadController}, | 55 content::DownloadControllerAndroidImpl::RegisterDownloadController}, |
(...skipping 18 matching lines...) Expand all Loading... |
74 namespace content { | 74 namespace content { |
75 namespace android { | 75 namespace android { |
76 | 76 |
77 bool RegisterBrowserJni(JNIEnv* env) { | 77 bool RegisterBrowserJni(JNIEnv* env) { |
78 return RegisterNativeMethods(env, kContentRegisteredMethods, | 78 return RegisterNativeMethods(env, kContentRegisteredMethods, |
79 arraysize(kContentRegisteredMethods)); | 79 arraysize(kContentRegisteredMethods)); |
80 } | 80 } |
81 | 81 |
82 } // namespace android | 82 } // namespace android |
83 } // namespace content | 83 } // namespace content |
OLD | NEW |