OLD | NEW |
| (Empty) |
1 // Copyright 2013 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 "content/child/android/child_jni_registrar.h" | |
6 | |
7 #include "base/android/jni_android.h" | |
8 #include "base/android/jni_registrar.h" | |
9 #include "webkit/child/fling_animator_impl_android.h" | |
10 | |
11 namespace { | |
12 base::android::RegistrationMethod kContentRegisteredMethods[] = { | |
13 { "FlingAnimator", webkit_glue::FlingAnimatorImpl::RegisterJni }, | |
14 }; | |
15 | |
16 } // namespace | |
17 | |
18 namespace content { | |
19 namespace android { | |
20 | |
21 bool RegisterChildJni(JNIEnv* env) { | |
22 return RegisterNativeMethods(env, kContentRegisteredMethods, | |
23 arraysize(kContentRegisteredMethods)); | |
24 } | |
25 | |
26 } // namespace android | |
27 } // namespace content | |
OLD | NEW |