OLD | NEW |
1 // // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ | 5 #ifndef WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ |
6 #define WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ | 6 #define WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ |
7 | 7 |
8 #include "webkit/child/webkit_child_export.h" | 8 #include "webkit/child/webkit_child_export.h" |
9 #include "webkit/glue/webkitplatformsupport_impl.h" | 9 #include "webkit/glue/webkitplatformsupport_impl.h" |
10 | 10 |
11 namespace webkit_glue { | 11 namespace webkit_glue { |
12 | 12 |
13 class FlingCurveConfiguration; | 13 class FlingCurveConfiguration; |
14 | 14 |
15 class WEBKIT_CHILD_EXPORT WebKitPlatformSupportChildImpl : | 15 class WEBKIT_CHILD_EXPORT WebKitPlatformSupportChildImpl : |
16 public WebKitPlatformSupportImpl { | 16 public WebKitPlatformSupportImpl { |
17 public: | 17 public: |
18 WebKitPlatformSupportChildImpl(); | 18 WebKitPlatformSupportChildImpl(); |
19 virtual ~WebKitPlatformSupportChildImpl(); | 19 virtual ~WebKitPlatformSupportChildImpl(); |
20 | 20 |
21 void SetFlingCurveParameters( | 21 void SetFlingCurveParameters( |
22 const std::vector<float>& new_touchpad, | 22 const std::vector<float>& new_touchpad, |
23 const std::vector<float>& new_touchscreen); | 23 const std::vector<float>& new_touchscreen); |
24 | 24 |
25 virtual WebKit::WebGestureCurve* createFlingAnimationCurve( | 25 virtual WebKit::WebGestureCurve* createFlingAnimationCurve( |
26 int device_source, | 26 int device_source, |
27 const WebKit::WebFloatPoint& velocity, | 27 const WebKit::WebFloatPoint& velocity, |
28 const WebKit::WebSize& cumulative_scroll) OVERRIDE; | 28 const WebKit::WebSize& cumulative_scroll) OVERRIDE; |
29 | 29 |
| 30 virtual void didStartWorkerRunLoop( |
| 31 const WebKit::WebWorkerRunLoop& runLoop) OVERRIDE; |
| 32 virtual void didStopWorkerRunLoop( |
| 33 const WebKit::WebWorkerRunLoop& runLoop) OVERRIDE; |
| 34 |
30 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; | 35 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; |
31 }; | 36 }; |
32 | 37 |
33 } // namespace webkit_glue | 38 } // namespace webkit_glue |
34 | 39 |
35 #endif // WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ | 40 #endif // WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ |
OLD | NEW |