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 CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_ | 5 #ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_ |
6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_ | 6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_ |
7 | 7 |
8 namespace blink { | 8 namespace blink { |
9 class WebGestureCurve; | 9 class WebGestureCurve; |
10 struct WebActiveWheelFlingParameters; | 10 struct WebActiveWheelFlingParameters; |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 // Creates a new fling animation curve instance for device |device_source| | 28 // Creates a new fling animation curve instance for device |device_source| |
29 // with |velocity| and already scrolled |cumulative_scroll| pixels. | 29 // with |velocity| and already scrolled |cumulative_scroll| pixels. |
30 virtual blink::WebGestureCurve* CreateFlingAnimationCurve( | 30 virtual blink::WebGestureCurve* CreateFlingAnimationCurve( |
31 int device_source, | 31 int device_source, |
32 const blink::WebFloatPoint& velocity, | 32 const blink::WebFloatPoint& velocity, |
33 const blink::WebSize& cumulative_scroll) = 0; | 33 const blink::WebSize& cumulative_scroll) = 0; |
34 | 34 |
35 virtual void DidOverscroll(const cc::DidOverscrollParams& params) = 0; | 35 virtual void DidOverscroll(const cc::DidOverscrollParams& params) = 0; |
36 | 36 |
| 37 virtual void DidFinishTopControlsGesture() = 0; |
| 38 |
37 protected: | 39 protected: |
38 virtual ~InputHandlerProxyClient() {} | 40 virtual ~InputHandlerProxyClient() {} |
39 }; | 41 }; |
40 | 42 |
41 } // namespace content | 43 } // namespace content |
42 | 44 |
43 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_ | 45 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_ |
OLD | NEW |