Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Side by Side Diff: content/browser/android/browser_jni_registrar.cc

Issue 10696173: Revert "Revert 146000 - Split out ContentViewCore from ContentView for embedders." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase number deux Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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"
11 #include "content/browser/android/content_view_client.h" 11 #include "content/browser/android/content_view_client.h"
12 #include "content/browser/android/content_view_impl.h" 12 #include "content/browser/android/content_view_core_impl.h"
13 #include "content/browser/android/download_controller.h" 13 #include "content/browser/android/download_controller.h"
14 #include "content/browser/android/sandboxed_process_launcher.h" 14 #include "content/browser/android/sandboxed_process_launcher.h"
15 #include "content/browser/android/touch_point.h" 15 #include "content/browser/android/touch_point.h"
16 #include "content/browser/geolocation/location_api_adapter_android.h" 16 #include "content/browser/geolocation/location_api_adapter_android.h"
17 #include "content/common/android/device_info.h" 17 #include "content/common/android/device_info.h"
18 18
19 namespace { 19 namespace {
20 base::android::RegistrationMethod kContentRegisteredMethods[] = { 20 base::android::RegistrationMethod kContentRegisteredMethods[] = {
21 { "AndroidLocationApiAdapter", 21 { "AndroidLocationApiAdapter",
22 AndroidLocationApiAdapter::RegisterGeolocationService }, 22 AndroidLocationApiAdapter::RegisterGeolocationService },
23 { "AndroidBrowserProcess", content::RegisterAndroidBrowserProcess }, 23 { "AndroidBrowserProcess", content::RegisterAndroidBrowserProcess },
24 { "ContentSettings", content::ContentSettings::RegisterContentSettings }, 24 { "ContentSettings", content::ContentSettings::RegisterContentSettings },
25 { "ContentView", content::RegisterContentView },
26 { "ContentViewClient", content::RegisterContentViewClient }, 25 { "ContentViewClient", content::RegisterContentViewClient },
26 { "ContentViewCore", content::RegisterContentViewCore },
27 { "DeviceInfo", content::RegisterDeviceInfo }, 27 { "DeviceInfo", content::RegisterDeviceInfo },
28 { "DownloadController", 28 { "DownloadController",
29 content::DownloadController::RegisterDownloadController }, 29 content::DownloadController::RegisterDownloadController },
30 { "SandboxedProcessLauncher", content::RegisterSandboxedProcessLauncher }, 30 { "SandboxedProcessLauncher", content::RegisterSandboxedProcessLauncher },
31 { "TouchPoint", content::RegisterTouchPoint }, 31 { "TouchPoint", content::RegisterTouchPoint },
32 }; 32 };
33 33
34 } // namespace 34 } // namespace
35 35
36 namespace content { 36 namespace content {
37 namespace android { 37 namespace android {
38 38
39 bool RegisterBrowserJni(JNIEnv* env) { 39 bool RegisterBrowserJni(JNIEnv* env) {
40 return RegisterNativeMethods(env, kContentRegisteredMethods, 40 return RegisterNativeMethods(env, kContentRegisteredMethods,
41 arraysize(kContentRegisteredMethods)); 41 arraysize(kContentRegisteredMethods));
42 } 42 }
43 43
44 } // namespace android 44 } // namespace android
45 } // namespace content 45 } // namespace content
OLDNEW
« no previous file with comments | « base/android/jni_generator/jni_generator_tests.py ('k') | content/browser/android/content_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698