OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_CHILD_FLING_ANIMATOR_IMPL_ANDROID_H_ | 5 #ifndef CONTENT_CHILD_FLING_ANIMATOR_IMPL_ANDROID_H_ |
6 #define CONTENT_CHILD_FLING_ANIMATOR_IMPL_ANDROID_H_ | 6 #define CONTENT_CHILD_FLING_ANIMATOR_IMPL_ANDROID_H_ |
7 | 7 |
8 | 8 |
9 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 9 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
10 #include "third_party/WebKit/public/platform/WebGestureCurve.h" | 10 #include "third_party/WebKit/public/platform/WebGestureCurve.h" |
11 #include "third_party/WebKit/public/platform/WebSize.h" | 11 #include "third_party/WebKit/public/platform/WebSize.h" |
12 #include "ui/gfx/android/scroller.h" | 12 #include "ui/gfx/android/scroller.h" |
13 #include "ui/gfx/point_f.h" | 13 #include "ui/gfx/geometry/point_f.h" |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 class WebGestureCurveTarget; | 16 class WebGestureCurveTarget; |
17 } | 17 } |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 | 20 |
21 class FlingAnimatorImpl : public blink::WebGestureCurve { | 21 class FlingAnimatorImpl : public blink::WebGestureCurve { |
22 public: | 22 public: |
23 FlingAnimatorImpl(); | 23 FlingAnimatorImpl(); |
(...skipping 14 matching lines...) Expand all Loading... |
38 gfx::Scroller scroller_; | 38 gfx::Scroller scroller_; |
39 | 39 |
40 gfx::PointF last_position_; | 40 gfx::PointF last_position_; |
41 | 41 |
42 DISALLOW_COPY_AND_ASSIGN(FlingAnimatorImpl); | 42 DISALLOW_COPY_AND_ASSIGN(FlingAnimatorImpl); |
43 }; | 43 }; |
44 | 44 |
45 } // namespace webkit_glue | 45 } // namespace webkit_glue |
46 | 46 |
47 #endif // CONTENT_CHILD_FLING_ANIMATOR_IMPL_ANDROID_H_ | 47 #endif // CONTENT_CHILD_FLING_ANIMATOR_IMPL_ANDROID_H_ |
OLD | NEW |