OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #include "ui/android/ui_android_jni_registrar.h" |
| 6 |
| 7 #include "base/android/jni_android.h" |
| 8 #include "base/android/jni_registrar.h" |
| 9 #include "ui/android/resources/resource_manager.h" |
| 10 |
| 11 namespace ui { |
| 12 |
| 13 static base::android::RegistrationMethod kAndroidRegisteredMethods[] = { |
| 14 {"ResourceManager", ui::ResourceManager::RegisterResourceManager}, |
| 15 }; |
| 16 |
| 17 bool RegisterUIAndroidJni(JNIEnv* env) { |
| 18 return RegisterNativeMethods(env, kAndroidRegisteredMethods, |
| 19 arraysize(kAndroidRegisteredMethods)); |
| 20 } |
| 21 |
| 22 } // namespace ui |
OLD | NEW |