OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_WIDGET_INPUT_HANDLER_MANAGER_H_ | 5 #ifndef CONTENT_RENDERER_INPUT_WIDGET_INPUT_HANDLER_MANAGER_H_ |
6 #define CONTENT_RENDERER_INPUT_WIDGET_INPUT_HANDLER_MANAGER_H_ | 6 #define CONTENT_RENDERER_INPUT_WIDGET_INPUT_HANDLER_MANAGER_H_ |
7 | 7 |
8 #include "content/common/input/input_handler.mojom.h" | 8 #include "content/common/input/input_handler.mojom.h" |
9 #include "content/renderer/render_frame_impl.h" | 9 #include "content/renderer/render_frame_impl.h" |
10 #include "mojo/public/cpp/bindings/associated_binding.h" | 10 #include "mojo/public/cpp/bindings/associated_binding.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 void TransferActiveWheelFlingAnimation( | 42 void TransferActiveWheelFlingAnimation( |
43 const blink::WebActiveWheelFlingParameters& params) override; | 43 const blink::WebActiveWheelFlingParameters& params) override; |
44 void DispatchNonBlockingEventToMainThread( | 44 void DispatchNonBlockingEventToMainThread( |
45 ui::WebScopedInputEvent event, | 45 ui::WebScopedInputEvent event, |
46 const ui::LatencyInfo& latency_info) override; | 46 const ui::LatencyInfo& latency_info) override; |
47 std::unique_ptr<blink::WebGestureCurve> CreateFlingAnimationCurve( | 47 std::unique_ptr<blink::WebGestureCurve> CreateFlingAnimationCurve( |
48 blink::WebGestureDevice device_source, | 48 blink::WebGestureDevice device_source, |
49 const blink::WebFloatPoint& velocity, | 49 const blink::WebFloatPoint& velocity, |
50 const blink::WebSize& cumulative_scroll) override; | 50 const blink::WebSize& cumulative_scroll) override; |
51 | 51 |
52 void DidOverscroll(const gfx::Vector2dF& accumulated_overscroll, | 52 void DidOverscroll( |
53 const gfx::Vector2dF& latest_overscroll_delta, | 53 const gfx::Vector2dF& accumulated_overscroll, |
54 const gfx::Vector2dF& current_fling_velocity, | 54 const gfx::Vector2dF& latest_overscroll_delta, |
55 const gfx::PointF& causal_event_viewport_point) override; | 55 const gfx::Vector2dF& current_fling_velocity, |
| 56 const gfx::PointF& causal_event_viewport_point, |
| 57 const cc::ScrollBoundaryBehavior& scroll_boundary_behavior) override; |
56 void DidStopFlinging() override; | 58 void DidStopFlinging() override; |
57 void DidAnimateForInput() override; | 59 void DidAnimateForInput() override; |
58 void GenerateScrollBeginAndSendToMainThread( | 60 void GenerateScrollBeginAndSendToMainThread( |
59 const blink::WebGestureEvent& update_event) override; | 61 const blink::WebGestureEvent& update_event) override; |
60 void SetWhiteListedTouchAction( | 62 void SetWhiteListedTouchAction( |
61 cc::TouchAction touch_action, | 63 cc::TouchAction touch_action, |
62 uint32_t unique_touch_event_id, | 64 uint32_t unique_touch_event_id, |
63 ui::InputHandlerProxy::EventDisposition event_disposition) override; | 65 ui::InputHandlerProxy::EventDisposition event_disposition) override; |
64 | 66 |
65 void ObserveGestureEventOnMainThread( | 67 void ObserveGestureEventOnMainThread( |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 IPC::Sender* legacy_host_message_sender_; | 117 IPC::Sender* legacy_host_message_sender_; |
116 int legacy_host_message_routing_id_; | 118 int legacy_host_message_routing_id_; |
117 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; | 119 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; |
118 | 120 |
119 DISALLOW_COPY_AND_ASSIGN(WidgetInputHandlerManager); | 121 DISALLOW_COPY_AND_ASSIGN(WidgetInputHandlerManager); |
120 }; | 122 }; |
121 | 123 |
122 } // namespace content | 124 } // namespace content |
123 | 125 |
124 #endif // CONTENT_RENDERER_INPUT_WIDGET_INPUT_HANDLER_MANAGER_H_ | 126 #endif // CONTENT_RENDERER_INPUT_WIDGET_INPUT_HANDLER_MANAGER_H_ |
OLD | NEW |