Update {virtual,override} to follow C++11 style in chrome.
[chromium-blink-merge.git] / ui / android / ui_android_jni_registrar.cc
blob9ed2d93e02345cbe98379525288d2d2a6d52435f
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 {"WindowAndroid", WindowAndroid::RegisterWindowAndroid},
20 bool RegisterUIAndroidJni(JNIEnv* env) {
21 return RegisterNativeMethods(env, kAndroidRegisteredMethods,
22 arraysize(kAndroidRegisteredMethods));
25 } // namespace ui