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 "base/macros.h" | 9 #include "base/macros.h" |
10 #include "content/browser/accessibility/browser_accessibility_android.h" | 10 #include "content/browser/accessibility/browser_accessibility_android.h" |
11 #include "content/browser/accessibility/browser_accessibility_manager_android.h" | 11 #include "content/browser/accessibility/browser_accessibility_manager_android.h" |
12 #include "content/browser/android/app_web_message_port.h" | 12 #include "content/browser/android/app_web_message_port.h" |
13 #include "content/browser/android/background_sync_network_observer_android.h" | 13 #include "content/browser/android/background_sync_network_observer_android.h" |
14 #include "content/browser/android/browser_startup_controller.h" | 14 #include "content/browser/android/browser_startup_controller.h" |
15 #include "content/browser/android/content_feature_list.h" | 15 #include "content/browser/android/content_feature_list.h" |
16 #include "content/browser/android/content_video_view.h" | 16 #include "content/browser/android/content_video_view.h" |
17 #include "content/browser/android/content_view_core_impl.h" | 17 #include "content/browser/android/content_view_core_impl.h" |
18 #include "content/browser/android/content_view_render_view.h" | 18 #include "content/browser/android/content_view_render_view.h" |
19 #include "content/browser/android/content_view_statics.h" | 19 #include "content/browser/android/content_view_statics.h" |
20 #include "content/browser/android/date_time_chooser_android.h" | 20 #include "content/browser/android/date_time_chooser_android.h" |
| 21 #include "content/browser/android/dialog_overlay_operations_impl.h" |
21 #include "content/browser/android/gpu_process_callback.h" | 22 #include "content/browser/android/gpu_process_callback.h" |
22 #include "content/browser/android/ime_adapter_android.h" | 23 #include "content/browser/android/ime_adapter_android.h" |
23 #include "content/browser/android/interstitial_page_delegate_android.h" | 24 #include "content/browser/android/interstitial_page_delegate_android.h" |
24 #include "content/browser/android/load_url_params.h" | 25 #include "content/browser/android/load_url_params.h" |
25 #include "content/browser/android/tracing_controller_android.h" | 26 #include "content/browser/android/tracing_controller_android.h" |
26 #include "content/browser/android/web_contents_observer_proxy.h" | 27 #include "content/browser/android/web_contents_observer_proxy.h" |
27 #include "content/browser/child_process_launcher_helper_android.h" | 28 #include "content/browser/child_process_launcher_helper_android.h" |
28 #include "content/browser/frame_host/navigation_controller_android.h" | 29 #include "content/browser/frame_host/navigation_controller_android.h" |
29 #include "content/browser/frame_host/render_frame_host_android.h" | 30 #include "content/browser/frame_host/render_frame_host_android.h" |
30 #include "content/browser/media/session/audio_focus_delegate_android.h" | 31 #include "content/browser/media/session/audio_focus_delegate_android.h" |
(...skipping 14 matching lines...) Expand all Loading... |
45 {"MemoryMonitorAndroid", content::MemoryMonitorAndroid::Register}, | 46 {"MemoryMonitorAndroid", content::MemoryMonitorAndroid::Register}, |
46 {"BackgroundSyncNetworkObserverAndroid", | 47 {"BackgroundSyncNetworkObserverAndroid", |
47 content::BackgroundSyncNetworkObserverAndroid::Observer:: | 48 content::BackgroundSyncNetworkObserverAndroid::Observer:: |
48 RegisterNetworkObserver}, | 49 RegisterNetworkObserver}, |
49 {"BrowserAccessibilityManager", | 50 {"BrowserAccessibilityManager", |
50 content::RegisterBrowserAccessibilityManager}, | 51 content::RegisterBrowserAccessibilityManager}, |
51 {"ContentViewCore", content::RegisterContentViewCore}, | 52 {"ContentViewCore", content::RegisterContentViewCore}, |
52 {"ContentViewRenderView", | 53 {"ContentViewRenderView", |
53 content::ContentViewRenderView::RegisterContentViewRenderView}, | 54 content::ContentViewRenderView::RegisterContentViewRenderView}, |
54 {"DateTimePickerAndroid", content::RegisterDateTimeChooserAndroid}, | 55 {"DateTimePickerAndroid", content::RegisterDateTimeChooserAndroid}, |
| 56 {"DialogOverlayOperationsImpl", |
| 57 content::DialogOverlayOperationsImpl::RegisterDialogOverlayOperationsImpl}, |
55 {"InterstitialPageDelegateAndroid", | 58 {"InterstitialPageDelegateAndroid", |
56 content::InterstitialPageDelegateAndroid:: | 59 content::InterstitialPageDelegateAndroid:: |
57 RegisterInterstitialPageDelegateAndroid}, | 60 RegisterInterstitialPageDelegateAndroid}, |
58 {"LoadUrlParams", content::RegisterLoadUrlParams}, | 61 {"LoadUrlParams", content::RegisterLoadUrlParams}, |
59 {"MediaSessionImpl", content::MediaSessionAndroid::Register}, | 62 {"MediaSessionImpl", content::MediaSessionAndroid::Register}, |
60 {"NavigationControllerAndroid", | 63 {"NavigationControllerAndroid", |
61 content::NavigationControllerAndroid::Register}, | 64 content::NavigationControllerAndroid::Register}, |
62 {"RegisterImeAdapter", content::RegisterImeAdapter}, | 65 {"RegisterImeAdapter", content::RegisterImeAdapter}, |
63 {"RenderFrameHostAndroid", content::RenderFrameHostAndroid::Register}, | 66 {"RenderFrameHostAndroid", content::RenderFrameHostAndroid::Register}, |
64 {"SpeechRecognizerImplAndroid", | 67 {"SpeechRecognizerImplAndroid", |
65 content::SpeechRecognizerImplAndroid::RegisterSpeechRecognizer}, | 68 content::SpeechRecognizerImplAndroid::RegisterSpeechRecognizer}, |
66 {"TracingControllerAndroid", content::RegisterTracingControllerAndroid}, | 69 {"TracingControllerAndroid", content::RegisterTracingControllerAndroid}, |
67 {"WebContentsAndroid", content::WebContentsAndroid::Register}, | 70 {"WebContentsAndroid", content::WebContentsAndroid::Register}, |
68 {"WebContentsObserver", content::RegisterWebContentsObserverProxy}, | 71 {"WebContentsObserver", content::RegisterWebContentsObserverProxy}, |
69 {"WebViewStatics", content::RegisterWebViewStatics}, | 72 {"WebViewStatics", content::RegisterWebViewStatics}, |
70 }; | 73 }; |
71 | 74 |
72 } // namespace | 75 } // namespace |
73 | 76 |
74 namespace content { | 77 namespace content { |
75 namespace android { | 78 namespace android { |
76 | 79 |
77 bool RegisterBrowserJni(JNIEnv* env) { | 80 bool RegisterBrowserJni(JNIEnv* env) { |
78 return RegisterNativeMethods(env, kContentRegisteredMethods, | 81 return RegisterNativeMethods(env, kContentRegisteredMethods, |
79 arraysize(kContentRegisteredMethods)); | 82 arraysize(kContentRegisteredMethods)); |
80 } | 83 } |
81 | 84 |
82 } // namespace android | 85 } // namespace android |
83 } // namespace content | 86 } // namespace content |
OLD | NEW |