ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / ui / android / ui_android_jni_registrar.cc
bloba9ba1651c1d195ea5aec0c15c1fff570c065e6c6
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/android/ui_android_jni_registrar.h"
7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h"
9 #include "ui/android/resources/resource_manager_impl.h"
10 #include "ui/android/view_android.h"
11 #include "ui/android/window_android.h"
13 namespace ui {
15 static base::android::RegistrationMethod kAndroidRegisteredMethods[] = {
16 {"ResourceManager", ui::ResourceManagerImpl::RegisterResourceManager},
17 {"ViewAndroid", ViewAndroid::RegisterViewAndroid},
18 {"WindowAndroid", WindowAndroid::RegisterWindowAndroid},
21 bool RegisterUIAndroidJni(JNIEnv* env) {
22 return RegisterNativeMethods(env, kAndroidRegisteredMethods,
23 arraysize(kAndroidRegisteredMethods));
26 } // namespace ui