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/android/android_browser_process.h" | 9 #include "content/browser/android/android_browser_process.h" |
10 #include "content/browser/android/content_settings.h" | 10 #include "content/browser/android/content_settings.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 content::AndroidLocationApiAdapter::RegisterGeolocationService }, | 29 content::AndroidLocationApiAdapter::RegisterGeolocationService }, |
30 { "AndroidBrowserProcess", content::RegisterAndroidBrowserProcess }, | 30 { "AndroidBrowserProcess", content::RegisterAndroidBrowserProcess }, |
31 { "BrowserProcessSurfaceTexture", | 31 { "BrowserProcessSurfaceTexture", |
32 SurfaceTexturePeerBrowserImpl::RegisterBrowserProcessSurfaceTexture }, | 32 SurfaceTexturePeerBrowserImpl::RegisterBrowserProcessSurfaceTexture }, |
33 { "ContentSettings", content::ContentSettings::RegisterContentSettings }, | 33 { "ContentSettings", content::ContentSettings::RegisterContentSettings }, |
34 { "ContentVideoView", content::ContentVideoView::RegisterContentVideoView }, | 34 { "ContentVideoView", content::ContentVideoView::RegisterContentVideoView }, |
35 { "ContentViewCore", content::RegisterContentViewCore }, | 35 { "ContentViewCore", content::RegisterContentViewCore }, |
36 { "DownloadControllerAndroidImpl", | 36 { "DownloadControllerAndroidImpl", |
37 content::DownloadControllerAndroidImpl::RegisterDownloadController }, | 37 content::DownloadControllerAndroidImpl::RegisterDownloadController }, |
38 { "RegisterImeAdapter", content::RegisterImeAdapter }, | 38 { "RegisterImeAdapter", content::RegisterImeAdapter }, |
39 { "JavaBoundObject", JavaBoundObject::RegisterJavaBoundObject }, | 39 { "JavaBoundObject", content::JavaBoundObject::RegisterJavaBoundObject }, |
40 { "LoadUrlParams", content::RegisterLoadUrlParams }, | 40 { "LoadUrlParams", content::RegisterLoadUrlParams }, |
41 { "SandboxedProcessLauncher", content::RegisterSandboxedProcessLauncher }, | 41 { "SandboxedProcessLauncher", content::RegisterSandboxedProcessLauncher }, |
42 { "TouchPoint", content::RegisterTouchPoint }, | 42 { "TouchPoint", content::RegisterTouchPoint }, |
43 { "WebContentsObserverAndroid", content::RegisterWebContentsObserverAndroid }, | 43 { "WebContentsObserverAndroid", content::RegisterWebContentsObserverAndroid }, |
44 { "WebViewStatics", content::RegisterWebViewStatics }, | 44 { "WebViewStatics", content::RegisterWebViewStatics }, |
45 }; | 45 }; |
46 | 46 |
47 } // namespace | 47 } // namespace |
48 | 48 |
49 namespace content { | 49 namespace content { |
50 namespace android { | 50 namespace android { |
51 | 51 |
52 bool RegisterBrowserJni(JNIEnv* env) { | 52 bool RegisterBrowserJni(JNIEnv* env) { |
53 return RegisterNativeMethods(env, kContentRegisteredMethods, | 53 return RegisterNativeMethods(env, kContentRegisteredMethods, |
54 arraysize(kContentRegisteredMethods)); | 54 arraysize(kContentRegisteredMethods)); |
55 } | 55 } |
56 | 56 |
57 } // namespace android | 57 } // namespace android |
58 } // namespace content | 58 } // namespace content |
OLD | NEW |