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

Unified Diff: ui/events/android/key_event_utils.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/events/android/key_event_utils.h ('k') | ui/events/android/motion_event_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/android/key_event_utils.cc
diff --git a/ui/events/android/key_event_utils.cc b/ui/events/android/key_event_utils.cc
index af2f2c5b176a965dca45e2e438b56ac30e02c6c6..145736837c18045cfe4cad78d04c6c7844e4c070 100644
--- a/ui/events/android/key_event_utils.cc
+++ b/ui/events/android/key_event_utils.cc
@@ -10,10 +10,6 @@ namespace ui {
namespace events {
namespace android {
-bool RegisterKeyEvent(JNIEnv* env) {
- return JNI_KeyEvent::RegisterNativesImpl(env);
-}
-
base::android::ScopedJavaLocalRef<jobject> CreateKeyEvent(JNIEnv* env,
int action,
int key_code) {
« no previous file with comments | « ui/events/android/key_event_utils.h ('k') | ui/events/android/motion_event_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698