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

Unified Diff: content/browser/android/browser_jni_registrar.cc

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android: Don't require RegisterNatives if there are none Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/android/browser_jni_registrar.cc
diff --git a/content/browser/android/browser_jni_registrar.cc b/content/browser/android/browser_jni_registrar.cc
index ed1343c371c56fae216bb0b5eed7c97c082050c0..277185c5855cc2868d6da2f871a81db491ab26eb 100644
--- a/content/browser/android/browser_jni_registrar.cc
+++ b/content/browser/android/browser_jni_registrar.cc
@@ -12,7 +12,6 @@
#include "content/browser/android/background_sync_network_observer_android.h"
#include "content/browser/android/browser_startup_controller.h"
#include "content/browser/android/child_process_launcher_android.h"
-#include "content/browser/android/composited_touch_handle_drawable.h"
#include "content/browser/android/content_video_view.h"
#include "content/browser/android/content_view_core_impl.h"
#include "content/browser/android/content_view_render_view.h"
@@ -22,17 +21,12 @@
#include "content/browser/android/interface_registry_android_impl.h"
#include "content/browser/android/interstitial_page_delegate_android.h"
#include "content/browser/android/load_url_params.h"
-#include "content/browser/android/popup_touch_handle_drawable.h"
#include "content/browser/android/tracing_controller_android.h"
#include "content/browser/android/web_contents_observer_proxy.h"
#include "content/browser/device_sensors/sensor_manager_android.h"
#include "content/browser/frame_host/navigation_controller_android.h"
-#include "content/browser/media/android/media_resource_getter_impl.h"
#include "content/browser/media/session/media_session_delegate_android.h"
-#include "content/browser/mojo/interface_registrar_android.h"
#include "content/browser/renderer_host/ime_adapter_android.h"
-#include "content/browser/renderer_host/input/synthetic_gesture_target_android.h"
-#include "content/browser/screen_orientation/screen_orientation_delegate_android.h"
#include "content/browser/speech/speech_recognizer_impl_android.h"
#include "content/browser/time_zone_monitor_android.h"
#include "content/browser/web_contents/web_contents_android.h"
@@ -44,8 +38,6 @@ base::android::RegistrationMethod kContentRegisteredMethods[] = {
{"ChildProcessLauncher", content::RegisterChildProcessLauncher},
{"ContentVideoView", content::ContentVideoView::RegisterContentVideoView},
{"CoreImpl", mojo::android::RegisterCoreImpl},
- {"MediaResourceGetterImpl",
- content::MediaResourceGetterImpl::RegisterMediaResourceGetter},
{"MediaSessionDelegate", content::MediaSessionDelegateAndroid::Register},
{"BackgroundSyncNetworkObserverAndroid",
content::BackgroundSyncNetworkObserverAndroid::Observer::
@@ -56,9 +48,6 @@ base::android::RegistrationMethod kContentRegisteredMethods[] = {
{"ContentViewRenderView",
content::ContentViewRenderView::RegisterContentViewRenderView},
{"DateTimePickerAndroid", content::RegisterDateTimeChooserAndroid},
- {"HandleViewResources",
- content::CompositedTouchHandleDrawable::RegisterHandleViewResources},
- {"InterfaceRegistrarAndroid", content::InterfaceRegistrarAndroid::Register},
{"InterfaceRegistryAndroid",
content::InterfaceRegistryAndroidImpl::Register},
{"InterfaceProviderAndroid",
@@ -67,15 +56,9 @@ base::android::RegistrationMethod kContentRegisteredMethods[] = {
content::InterstitialPageDelegateAndroid::
RegisterInterstitialPageDelegateAndroid},
{"LoadUrlParams", content::RegisterLoadUrlParams},
- {"MotionEventSynthesizer",
- content::SyntheticGestureTargetAndroid::RegisterMotionEventSynthesizer},
{"NavigationControllerAndroid",
content::NavigationControllerAndroid::Register},
- {"PopupTouchHandleDrawable",
- content::PopupTouchHandleDrawable::RegisterPopupTouchHandleDrawable},
{"RegisterImeAdapter", content::RegisterImeAdapter},
- {"ScreenOrientationProvider",
- content::ScreenOrientationDelegateAndroid::Register},
{"SensorManagerAndroid", content::SensorManagerAndroid::Register},
{"SpeechRecognizerImplAndroid",
content::SpeechRecognizerImplAndroid::RegisterSpeechRecognizer},

Powered by Google App Engine
This is Rietveld 408576698