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" |
| 10 #include "content/browser/accessibility/browser_accessibility_manager_android.h" |
9 #include "content/browser/android/android_browser_process.h" | 11 #include "content/browser/android/android_browser_process.h" |
10 #include "content/browser/android/child_process_launcher_android.h" | 12 #include "content/browser/android/child_process_launcher_android.h" |
11 #include "content/browser/android/content_settings.h" | 13 #include "content/browser/android/content_settings.h" |
12 #include "content/browser/android/content_video_view.h" | 14 #include "content/browser/android/content_video_view.h" |
13 #include "content/browser/android/content_view_core_impl.h" | 15 #include "content/browser/android/content_view_core_impl.h" |
14 #include "content/browser/android/content_view_render_view.h" | 16 #include "content/browser/android/content_view_render_view.h" |
15 #include "content/browser/android/content_view_statics.h" | 17 #include "content/browser/android/content_view_statics.h" |
16 #include "content/browser/android/date_time_chooser_android.h" | 18 #include "content/browser/android/date_time_chooser_android.h" |
17 #include "content/browser/android/download_controller_android_impl.h" | 19 #include "content/browser/android/download_controller_android_impl.h" |
18 #include "content/browser/android/interstitial_page_delegate_android.h" | 20 #include "content/browser/android/interstitial_page_delegate_android.h" |
19 #include "content/browser/android/load_url_params.h" | 21 #include "content/browser/android/load_url_params.h" |
20 #include "content/browser/android/media_resource_getter_impl.h" | 22 #include "content/browser/android/media_resource_getter_impl.h" |
21 #include "content/browser/android/surface_texture_peer_browser_impl.h" | 23 #include "content/browser/android/surface_texture_peer_browser_impl.h" |
22 #include "content/browser/android/touch_point.h" | 24 #include "content/browser/android/touch_point.h" |
23 #include "content/browser/android/tracing_intent_handler.h" | 25 #include "content/browser/android/tracing_intent_handler.h" |
24 #include "content/browser/android/web_contents_observer_android.h" | 26 #include "content/browser/android/web_contents_observer_android.h" |
25 #include "content/browser/geolocation/location_api_adapter_android.h" | 27 #include "content/browser/geolocation/location_api_adapter_android.h" |
26 #include "content/browser/renderer_host/ime_adapter_android.h" | 28 #include "content/browser/renderer_host/ime_adapter_android.h" |
27 #include "content/browser/renderer_host/java/java_bound_object.h" | 29 #include "content/browser/renderer_host/java/java_bound_object.h" |
28 | 30 |
29 using content::SurfaceTexturePeerBrowserImpl; | 31 using content::SurfaceTexturePeerBrowserImpl; |
30 | 32 |
31 namespace { | 33 namespace { |
32 base::android::RegistrationMethod kContentRegisteredMethods[] = { | 34 base::android::RegistrationMethod kContentRegisteredMethods[] = { |
33 { "AndroidLocationApiAdapter", | 35 { "AndroidLocationApiAdapter", |
34 content::AndroidLocationApiAdapter::RegisterGeolocationService }, | 36 content::AndroidLocationApiAdapter::RegisterGeolocationService }, |
35 { "AndroidBrowserProcess", content::RegisterAndroidBrowserProcess }, | 37 { "AndroidBrowserProcess", content::RegisterAndroidBrowserProcess }, |
| 38 { "BrowserAccessibility", |
| 39 content::RegisterBrowserAccessibility }, |
| 40 { "BrowserAccessibilityManager", |
| 41 content::RegisterBrowserAccessibilityManager }, |
36 { "ChildProcessLauncher", content::RegisterChildProcessLauncher }, | 42 { "ChildProcessLauncher", content::RegisterChildProcessLauncher }, |
37 { "ContentSettings", content::ContentSettings::RegisterContentSettings }, | 43 { "ContentSettings", content::ContentSettings::RegisterContentSettings }, |
38 { "ContentViewRenderView", | 44 { "ContentViewRenderView", |
39 content::ContentViewRenderView::RegisterContentViewRenderView }, | 45 content::ContentViewRenderView::RegisterContentViewRenderView }, |
40 { "ContentVideoView", content::ContentVideoView::RegisterContentVideoView }, | 46 { "ContentVideoView", content::ContentVideoView::RegisterContentVideoView }, |
41 { "ContentViewCore", content::RegisterContentViewCore }, | 47 { "ContentViewCore", content::RegisterContentViewCore }, |
42 { "DateTimePickerAndroid", content::RegisterDateTimeChooserAndroid}, | 48 { "DateTimePickerAndroid", content::RegisterDateTimeChooserAndroid}, |
43 { "DownloadControllerAndroidImpl", | 49 { "DownloadControllerAndroidImpl", |
44 content::DownloadControllerAndroidImpl::RegisterDownloadController }, | 50 content::DownloadControllerAndroidImpl::RegisterDownloadController }, |
45 { "InterstitialPageDelegateAndroid", | 51 { "InterstitialPageDelegateAndroid", |
(...skipping 14 matching lines...) Expand all Loading... |
60 namespace content { | 66 namespace content { |
61 namespace android { | 67 namespace android { |
62 | 68 |
63 bool RegisterBrowserJni(JNIEnv* env) { | 69 bool RegisterBrowserJni(JNIEnv* env) { |
64 return RegisterNativeMethods(env, kContentRegisteredMethods, | 70 return RegisterNativeMethods(env, kContentRegisteredMethods, |
65 arraysize(kContentRegisteredMethods)); | 71 arraysize(kContentRegisteredMethods)); |
66 } | 72 } |
67 | 73 |
68 } // namespace android | 74 } // namespace android |
69 } // namespace content | 75 } // namespace content |
OLD | NEW |