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

Side by Side Diff: content/child/android/child_jni_registrar.cc

Issue 45623005: [NOT FOR REVIEW] Patch demonstrating the changes required for browser side fling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698