| 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 #include "ui/events/blink/input_handler_proxy.h" | 5 #include "ui/events/blink/input_handler_proxy.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "third_party/WebKit/public/platform/WebInputEvent.h" | 22 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
| 23 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h" | 23 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h" |
| 24 #include "third_party/WebKit/public/platform/WebTouchEvent.h" | 24 #include "third_party/WebKit/public/platform/WebTouchEvent.h" |
| 25 #include "ui/events/blink/blink_event_util.h" | 25 #include "ui/events/blink/blink_event_util.h" |
| 26 #include "ui/events/blink/compositor_thread_event_queue.h" | 26 #include "ui/events/blink/compositor_thread_event_queue.h" |
| 27 #include "ui/events/blink/did_overscroll_params.h" | 27 #include "ui/events/blink/did_overscroll_params.h" |
| 28 #include "ui/events/blink/event_with_callback.h" | 28 #include "ui/events/blink/event_with_callback.h" |
| 29 #include "ui/events/blink/input_handler_proxy_client.h" | 29 #include "ui/events/blink/input_handler_proxy_client.h" |
| 30 #include "ui/events/blink/input_scroll_elasticity_controller.h" | 30 #include "ui/events/blink/input_scroll_elasticity_controller.h" |
| 31 #include "ui/events/blink/web_input_event_traits.h" | 31 #include "ui/events/blink/web_input_event_traits.h" |
| 32 #include "ui/events/latency_info.h" | |
| 33 #include "ui/gfx/geometry/point_conversions.h" | 32 #include "ui/gfx/geometry/point_conversions.h" |
| 33 #include "ui/latency/latency_info.h" |
| 34 | 34 |
| 35 using blink::WebFloatPoint; | 35 using blink::WebFloatPoint; |
| 36 using blink::WebFloatSize; | 36 using blink::WebFloatSize; |
| 37 using blink::WebGestureEvent; | 37 using blink::WebGestureEvent; |
| 38 using blink::WebInputEvent; | 38 using blink::WebInputEvent; |
| 39 using blink::WebMouseEvent; | 39 using blink::WebMouseEvent; |
| 40 using blink::WebMouseWheelEvent; | 40 using blink::WebMouseWheelEvent; |
| 41 using blink::WebPoint; | 41 using blink::WebPoint; |
| 42 using blink::WebTouchEvent; | 42 using blink::WebTouchEvent; |
| 43 using blink::WebTouchPoint; | 43 using blink::WebTouchPoint; |
| (...skipping 1590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1634 scroll_elasticity_controller_->GetWeakPtr(), gesture_event, | 1634 scroll_elasticity_controller_->GetWeakPtr(), gesture_event, |
| 1635 scroll_result)); | 1635 scroll_result)); |
| 1636 } | 1636 } |
| 1637 | 1637 |
| 1638 void InputHandlerProxy::SetTickClockForTesting( | 1638 void InputHandlerProxy::SetTickClockForTesting( |
| 1639 std::unique_ptr<base::TickClock> tick_clock) { | 1639 std::unique_ptr<base::TickClock> tick_clock) { |
| 1640 tick_clock_ = std::move(tick_clock); | 1640 tick_clock_ = std::move(tick_clock); |
| 1641 } | 1641 } |
| 1642 | 1642 |
| 1643 } // namespace ui | 1643 } // namespace ui |
| OLD | NEW |