OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_curve_configuration.h" | 5 #include "webkit/child/fling_curve_configuration.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "third_party/WebKit/public/platform/WebGestureCurve.h" | 8 #include "third_party/WebKit/public/platform/WebGestureCurve.h" |
9 #include "webkit/glue/touch_fling_gesture_curve.h" | 9 #include "webkit/glue/touch_fling_gesture_curve.h" |
10 | 10 |
11 namespace webkit_glue { | 11 namespace webkit_glue { |
12 | 12 |
13 FlingCurveConfiguration::FlingCurveConfiguration() { } | 13 FlingCurveConfiguration::FlingCurveConfiguration() { } |
14 | 14 |
15 FlingCurveConfiguration::~FlingCurveConfiguration() { } | 15 FlingCurveConfiguration::~FlingCurveConfiguration() { } |
(...skipping 30 matching lines...) Expand all Loading... |
46 return CreateCore(touchpad_coefs_, velocity, cumulativeScroll); | 46 return CreateCore(touchpad_coefs_, velocity, cumulativeScroll); |
47 } | 47 } |
48 | 48 |
49 WebKit::WebGestureCurve* FlingCurveConfiguration::CreateForTouchScreen( | 49 WebKit::WebGestureCurve* FlingCurveConfiguration::CreateForTouchScreen( |
50 const WebKit::WebFloatPoint& velocity, | 50 const WebKit::WebFloatPoint& velocity, |
51 const WebKit::WebSize& cumulativeScroll) { | 51 const WebKit::WebSize& cumulativeScroll) { |
52 return CreateCore(touchscreen_coefs_, velocity, cumulativeScroll); | 52 return CreateCore(touchscreen_coefs_, velocity, cumulativeScroll); |
53 } | 53 } |
54 | 54 |
55 } // namespace webkit_glue | 55 } // namespace webkit_glue |
OLD | NEW |