| 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 20 matching lines...) Expand all Loading... |
| 31 // with |velocity| and already scrolled |cumulative_scroll| pixels. | 31 // with |velocity| and already scrolled |cumulative_scroll| pixels. |
| 32 virtual blink::WebGestureCurve* CreateFlingAnimationCurve( | 32 virtual blink::WebGestureCurve* CreateFlingAnimationCurve( |
| 33 blink::WebGestureDevice device_source, | 33 blink::WebGestureDevice device_source, |
| 34 const blink::WebFloatPoint& velocity, | 34 const blink::WebFloatPoint& velocity, |
| 35 const blink::WebSize& cumulative_scroll) = 0; | 35 const blink::WebSize& cumulative_scroll) = 0; |
| 36 | 36 |
| 37 virtual void DidOverscroll(const DidOverscrollParams& params) = 0; | 37 virtual void DidOverscroll(const DidOverscrollParams& params) = 0; |
| 38 | 38 |
| 39 virtual void DidStopFlinging() = 0; | 39 virtual void DidStopFlinging() = 0; |
| 40 | 40 |
| 41 virtual void DidReceiveInputEvent(blink::WebInputEvent::Type type) = 0; | 41 virtual void DidReceiveInputEvent( |
| 42 const blink::WebInputEvent& web_input_event) = 0; |
| 42 | 43 |
| 43 virtual void DidAnimateForInput() = 0; | 44 virtual void DidAnimateForInput() = 0; |
| 44 | 45 |
| 45 protected: | 46 protected: |
| 46 virtual ~InputHandlerProxyClient() {} | 47 virtual ~InputHandlerProxyClient() {} |
| 47 }; | 48 }; |
| 48 | 49 |
| 49 } // namespace content | 50 } // namespace content |
| 50 | 51 |
| 51 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_ | 52 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_PROXY_CLIENT_H_ |
| OLD | NEW |