| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "content/common/input/input_event_ack.h" | 5 #include "content/common/input/input_event_ack.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 namespace content { | 9 namespace content { |
| 10 | 10 |
| 11 InputEventAck::InputEventAck( | 11 InputEventAck::InputEventAck( |
| 12 blink::WebInputEvent::Type type, | 12 blink::WebInputEvent::Type type, |
| 13 InputEventAckState state, | 13 InputEventAckState state, |
| 14 const ui::LatencyInfo& latency, | 14 const ui::LatencyInfo& latency, |
| 15 std::unique_ptr<content::DidOverscrollParams> overscroll, | 15 std::unique_ptr<ui::DidOverscrollParams> overscroll, |
| 16 uint32_t unique_touch_event_id) | 16 uint32_t unique_touch_event_id) |
| 17 : type(type), | 17 : type(type), |
| 18 state(state), | 18 state(state), |
| 19 latency(latency), | 19 latency(latency), |
| 20 overscroll(std::move(overscroll)), | 20 overscroll(std::move(overscroll)), |
| 21 unique_touch_event_id(unique_touch_event_id) {} | 21 unique_touch_event_id(unique_touch_event_id) {} |
| 22 | 22 |
| 23 InputEventAck::InputEventAck(blink::WebInputEvent::Type type, | 23 InputEventAck::InputEventAck(blink::WebInputEvent::Type type, |
| 24 InputEventAckState state, | 24 InputEventAckState state, |
| 25 const ui::LatencyInfo& latency, | 25 const ui::LatencyInfo& latency, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 InputEventAck::InputEventAck() | 39 InputEventAck::InputEventAck() |
| 40 : InputEventAck(blink::WebInputEvent::Undefined, | 40 : InputEventAck(blink::WebInputEvent::Undefined, |
| 41 INPUT_EVENT_ACK_STATE_UNKNOWN) { | 41 INPUT_EVENT_ACK_STATE_UNKNOWN) { |
| 42 } | 42 } |
| 43 | 43 |
| 44 InputEventAck::~InputEventAck() { | 44 InputEventAck::~InputEventAck() { |
| 45 } | 45 } |
| 46 | 46 |
| 47 } // namespace content | 47 } // namespace content |
| OLD | NEW |