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

Unified Diff: ui/base/android/ui_base_jni_registrar.cc

Issue 2202033002: ui: Remove unneeded RegisterNatives() call on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jnireg1
Patch Set: rebase, unused headers 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
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/base/clipboard/clipboard_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/android/ui_base_jni_registrar.cc
diff --git a/ui/base/android/ui_base_jni_registrar.cc b/ui/base/android/ui_base_jni_registrar.cc
index f0be91587c107d2e603353eac5bb0c15d7138258..e86f51adc102e3daa56bf223add98c3137e2a24d 100644
--- a/ui/base/android/ui_base_jni_registrar.cc
+++ b/ui/base/android/ui_base_jni_registrar.cc
@@ -7,21 +7,13 @@
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
#include "base/macros.h"
-#include "ui/base/clipboard/clipboard_android.h"
-#include "ui/base/device_form_factor_android.h"
#include "ui/base/l10n/l10n_util_android.h"
-#include "ui/base/resource/resource_bundle_android.h"
-#include "ui/base/touch/touch_device.h"
namespace ui {
namespace android {
static base::android::RegistrationMethod kUiRegisteredMethods[] = {
- { "Clipboard", RegisterClipboardAndroid },
- { "DeviceFormFactor", RegisterDeviceFormFactorAndroid },
{ "LocalizationUtils", l10n_util::RegisterLocalizationUtil },
- { "ResourceBundle", RegisterResourceBundleAndroid },
- { "TouchDevice", RegisterTouchDeviceAndroid },
};
bool RegisterJni(JNIEnv* env) {
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/base/clipboard/clipboard_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698