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

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

Issue 920693003: Revert "Revert of [Android] Migrate javascript settings to a content setting from a pref. (patchset… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove jni registration Created 5 years, 10 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
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/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/browser_startup_controller.h" 11 #include "content/browser/android/browser_startup_controller.h"
12 #include "content/browser/android/child_process_launcher_android.h" 12 #include "content/browser/android/child_process_launcher_android.h"
13 #include "content/browser/android/composited_touch_handle_drawable.h" 13 #include "content/browser/android/composited_touch_handle_drawable.h"
14 #include "content/browser/android/content_readback_handler.h" 14 #include "content/browser/android/content_readback_handler.h"
15 #include "content/browser/android/content_settings.h"
16 #include "content/browser/android/content_video_view.h" 15 #include "content/browser/android/content_video_view.h"
17 #include "content/browser/android/content_view_core_impl.h" 16 #include "content/browser/android/content_view_core_impl.h"
18 #include "content/browser/android/content_view_render_view.h" 17 #include "content/browser/android/content_view_render_view.h"
19 #include "content/browser/android/content_view_statics.h" 18 #include "content/browser/android/content_view_statics.h"
20 #include "content/browser/android/date_time_chooser_android.h" 19 #include "content/browser/android/date_time_chooser_android.h"
21 #include "content/browser/android/download_controller_android_impl.h" 20 #include "content/browser/android/download_controller_android_impl.h"
22 #include "content/browser/android/interstitial_page_delegate_android.h" 21 #include "content/browser/android/interstitial_page_delegate_android.h"
23 #include "content/browser/android/load_url_params.h" 22 #include "content/browser/android/load_url_params.h"
24 #include "content/browser/android/popup_touch_handle_drawable.h" 23 #include "content/browser/android/popup_touch_handle_drawable.h"
25 #include "content/browser/android/tracing_controller_android.h" 24 #include "content/browser/android/tracing_controller_android.h"
(...skipping 19 matching lines...) Expand all
45 namespace { 44 namespace {
46 base::android::RegistrationMethod kContentRegisteredMethods[] = { 45 base::android::RegistrationMethod kContentRegisteredMethods[] = {
47 {"AndroidLocationApiAdapter", 46 {"AndroidLocationApiAdapter",
48 content::AndroidLocationApiAdapter::RegisterGeolocationService}, 47 content::AndroidLocationApiAdapter::RegisterGeolocationService},
49 {"BrowserAccessibilityManager", 48 {"BrowserAccessibilityManager",
50 content::RegisterBrowserAccessibilityManager}, 49 content::RegisterBrowserAccessibilityManager},
51 {"BrowserStartupController", content::RegisterBrowserStartupController}, 50 {"BrowserStartupController", content::RegisterBrowserStartupController},
52 {"ChildProcessLauncher", content::RegisterChildProcessLauncher}, 51 {"ChildProcessLauncher", content::RegisterChildProcessLauncher},
53 {"ContentReadbackHandler", 52 {"ContentReadbackHandler",
54 content::ContentReadbackHandler::RegisterContentReadbackHandler}, 53 content::ContentReadbackHandler::RegisterContentReadbackHandler},
55 {"ContentSettings", content::ContentSettings::RegisterContentSettings},
56 {"ContentVideoView", content::ContentVideoView::RegisterContentVideoView}, 54 {"ContentVideoView", content::ContentVideoView::RegisterContentVideoView},
57 {"ContentViewCore", content::RegisterContentViewCore}, 55 {"ContentViewCore", content::RegisterContentViewCore},
58 {"ContentViewRenderView", 56 {"ContentViewRenderView",
59 content::ContentViewRenderView::RegisterContentViewRenderView}, 57 content::ContentViewRenderView::RegisterContentViewRenderView},
60 {"CoreImpl", mojo::android::RegisterCoreImpl}, 58 {"CoreImpl", mojo::android::RegisterCoreImpl},
61 {"DateTimePickerAndroid", content::RegisterDateTimeChooserAndroid}, 59 {"DateTimePickerAndroid", content::RegisterDateTimeChooserAndroid},
62 {"DownloadControllerAndroidImpl", 60 {"DownloadControllerAndroidImpl",
63 content::DownloadControllerAndroidImpl::RegisterDownloadController}, 61 content::DownloadControllerAndroidImpl::RegisterDownloadController},
64 {"GamepadList", 62 {"GamepadList",
65 content::GamepadPlatformDataFetcherAndroid:: 63 content::GamepadPlatformDataFetcherAndroid::
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 namespace content { 101 namespace content {
104 namespace android { 102 namespace android {
105 103
106 bool RegisterBrowserJni(JNIEnv* env) { 104 bool RegisterBrowserJni(JNIEnv* env) {
107 return RegisterNativeMethods(env, kContentRegisteredMethods, 105 return RegisterNativeMethods(env, kContentRegisteredMethods,
108 arraysize(kContentRegisteredMethods)); 106 arraysize(kContentRegisteredMethods));
109 } 107 }
110 108
111 } // namespace android 109 } // namespace android
112 } // namespace content 110 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/android/preferences/pref_service_bridge.cc ('k') | content/browser/android/content_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698