| OLD | NEW |
| 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 #ifndef WEBKIT_GLUE_TOUCH_FLING_GESTURE_CURVE_H_ | 5 #ifndef WEBKIT_GLUE_TOUCH_FLING_GESTURE_CURVE_H_ |
| 6 #define WEBKIT_GLUE_TOUCH_FLING_GESTURE_CURVE_H_ | 6 #define WEBKIT_GLUE_TOUCH_FLING_GESTURE_CURVE_H_ |
| 7 | 7 |
| 8 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" | 8 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
| 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatSize.h" | 9 #include "third_party/WebKit/public/platform/WebFloatSize.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebGestureCurve.h" | 10 #include "third_party/WebKit/public/platform/WebGestureCurve.h" |
| 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" | 11 #include "third_party/WebKit/public/platform/WebSize.h" |
| 12 #include "webkit/glue/webkit_glue_export.h" | 12 #include "webkit/glue/webkit_glue_export.h" |
| 13 | 13 |
| 14 namespace WebKit { | 14 namespace WebKit { |
| 15 class WebGestureCurveTarget; | 15 class WebGestureCurveTarget; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace webkit_glue { | 18 namespace webkit_glue { |
| 19 | 19 |
| 20 // Implementation of WebGestureCurve suitable for touch pad/screen-based | 20 // Implementation of WebGestureCurve suitable for touch pad/screen-based |
| 21 // fling scroll. Starts with a flat velocity profile based on 'velocity', which | 21 // fling scroll. Starts with a flat velocity profile based on 'velocity', which |
| (...skipping 24 matching lines...) Expand all Loading... |
| 46 float time_offset_; | 46 float time_offset_; |
| 47 float curve_duration_; | 47 float curve_duration_; |
| 48 float position_offset_; | 48 float position_offset_; |
| 49 | 49 |
| 50 DISALLOW_COPY_AND_ASSIGN(TouchFlingGestureCurve); | 50 DISALLOW_COPY_AND_ASSIGN(TouchFlingGestureCurve); |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } // namespace webkit_glue | 53 } // namespace webkit_glue |
| 54 | 54 |
| 55 #endif // WEBKIT_GLUE_TOUCH_FLING_GESTURE_CURVE_H_ | 55 #endif // WEBKIT_GLUE_TOUCH_FLING_GESTURE_CURVE_H_ |
| OLD | NEW |