| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 void TransferActiveWheelFlingAnimation( | 43 void TransferActiveWheelFlingAnimation( |
| 44 const blink::WebActiveWheelFlingParameters& params) override; | 44 const blink::WebActiveWheelFlingParameters& params) override; |
| 45 void DispatchNonBlockingEventToMainThread( | 45 void DispatchNonBlockingEventToMainThread( |
| 46 ui::WebScopedInputEvent event, | 46 ui::WebScopedInputEvent event, |
| 47 const ui::LatencyInfo& latency_info) override; | 47 const ui::LatencyInfo& latency_info) override; |
| 48 std::unique_ptr<blink::WebGestureCurve> CreateFlingAnimationCurve( | 48 std::unique_ptr<blink::WebGestureCurve> CreateFlingAnimationCurve( |
| 49 blink::WebGestureDevice device_source, | 49 blink::WebGestureDevice device_source, |
| 50 const blink::WebFloatPoint& velocity, | 50 const blink::WebFloatPoint& velocity, |
| 51 const blink::WebSize& cumulative_scroll) override; | 51 const blink::WebSize& cumulative_scroll) override; |
| 52 | 52 |
| 53 void DidOverscroll(const gfx::Vector2dF& accumulated_overscroll, | 53 void DidOverscroll( |
| 54 const gfx::Vector2dF& latest_overscroll_delta, | 54 const gfx::Vector2dF& accumulated_overscroll, |
| 55 const gfx::Vector2dF& current_fling_velocity, | 55 const gfx::Vector2dF& latest_overscroll_delta, |
| 56 const gfx::PointF& causal_event_viewport_point) override; | 56 const gfx::Vector2dF& current_fling_velocity, |
| 57 const gfx::PointF& causal_event_viewport_point, |
| 58 const cc::ScrollBoundaryBehavior& scroll_boundary_behavior) override; |
| 57 void DidStopFlinging() override; | 59 void DidStopFlinging() override; |
| 58 void DidAnimateForInput() override; | 60 void DidAnimateForInput() override; |
| 59 void GenerateScrollBeginAndSendToMainThread( | 61 void GenerateScrollBeginAndSendToMainThread( |
| 60 const blink::WebGestureEvent& update_event) override; | 62 const blink::WebGestureEvent& update_event) override; |
| 61 void SetWhiteListedTouchAction( | 63 void SetWhiteListedTouchAction( |
| 62 cc::TouchAction touch_action, | 64 cc::TouchAction touch_action, |
| 63 uint32_t unique_touch_event_id, | 65 uint32_t unique_touch_event_id, |
| 64 ui::InputHandlerProxy::EventDisposition event_disposition) override; | 66 ui::InputHandlerProxy::EventDisposition event_disposition) override; |
| 65 | 67 |
| 66 void ObserveGestureEventOnMainThread( | 68 void ObserveGestureEventOnMainThread( |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 IPC::Sender* legacy_host_message_sender_; | 111 IPC::Sender* legacy_host_message_sender_; |
| 110 int legacy_host_message_routing_id_; | 112 int legacy_host_message_routing_id_; |
| 111 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; | 113 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; |
| 112 | 114 |
| 113 DISALLOW_COPY_AND_ASSIGN(WidgetInputHandlerManager); | 115 DISALLOW_COPY_AND_ASSIGN(WidgetInputHandlerManager); |
| 114 }; | 116 }; |
| 115 | 117 |
| 116 } // namespace content | 118 } // namespace content |
| 117 | 119 |
| 118 #endif // CONTENT_RENDERER_INPUT_WIDGET_INPUT_HANDLER_MANAGER_H_ | 120 #endif // CONTENT_RENDERER_INPUT_WIDGET_INPUT_HANDLER_MANAGER_H_ |
| OLD | NEW |