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

Side by Side Diff: webkit/child/fling_animator_impl_android.cc

Issue 16424008: move webkit/glue/fling_* to webkit/child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android 5 Created 7 years, 6 months 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
« no previous file with comments | « webkit/child/fling_animator_impl_android.h ('k') | webkit/child/fling_curve_configuration.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/glue/fling_animator_impl_android.h" 5 #include "webkit/child/fling_animator_impl_android.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/scoped_java_ref.h" 8 #include "base/android/scoped_java_ref.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "jni/OverScroller_jni.h" 10 #include "jni/OverScroller_jni.h"
11 #include "third_party/WebKit/public/platform/WebFloatSize.h" 11 #include "third_party/WebKit/public/platform/WebFloatSize.h"
12 #include "third_party/WebKit/public/platform/WebGestureCurveTarget.h" 12 #include "third_party/WebKit/public/platform/WebGestureCurveTarget.h"
13 #include "ui/gfx/screen.h" 13 #include "ui/gfx/screen.h"
14 #include "ui/gfx/vector2d.h" 14 #include "ui/gfx/vector2d.h"
15 15
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 FlingAnimatorImpl* FlingAnimatorImpl::CreateAndroidGestureCurve( 140 FlingAnimatorImpl* FlingAnimatorImpl::CreateAndroidGestureCurve(
141 const WebKit::WebFloatPoint& velocity, 141 const WebKit::WebFloatPoint& velocity,
142 const WebKit::WebSize&) { 142 const WebKit::WebSize&) {
143 FlingAnimatorImpl* gesture_curve = new FlingAnimatorImpl(); 143 FlingAnimatorImpl* gesture_curve = new FlingAnimatorImpl();
144 gesture_curve->StartFling(velocity); 144 gesture_curve->StartFling(velocity);
145 return gesture_curve; 145 return gesture_curve;
146 } 146 }
147 147
148 } // namespace webkit_glue 148 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/child/fling_animator_impl_android.h ('k') | webkit/child/fling_curve_configuration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698