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

Unified Diff: ui/events/android/events_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/events/android/events_jni_registrar.h ('k') | ui/events/android/key_event_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/android/events_jni_registrar.cc
diff --git a/ui/events/android/events_jni_registrar.cc b/ui/events/android/events_jni_registrar.cc
deleted file mode 100644
index 03f93441e19d73244cba6ed75a4c29720940d0d6..0000000000000000000000000000000000000000
--- a/ui/events/android/events_jni_registrar.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ui/events/android/events_jni_registrar.h"
-
-#include "base/android/jni_android.h"
-#include "base/android/jni_registrar.h"
-#include "base/macros.h"
-#include "ui/events/android/key_event_utils.h"
-#include "ui/events/android/motion_event_android.h"
-
-namespace ui {
-namespace events {
-namespace android {
-
-static base::android::RegistrationMethod kAndroidRegisteredMethods[] = {
- {"MotionEventAndroid", ui::MotionEventAndroid::RegisterMotionEventAndroid},
- {"KeyEventUtils", RegisterKeyEvent},
-};
-
-bool RegisterJni(JNIEnv* env) {
- return RegisterNativeMethods(env, kAndroidRegisteredMethods,
- arraysize(kAndroidRegisteredMethods));
-}
-
-} // namespace android
-} // namespace events
-} // namespace ui
« no previous file with comments | « ui/events/android/events_jni_registrar.h ('k') | ui/events/android/key_event_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698