| 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 #ifndef CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_H_ | 5 #ifndef CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_H_ |
| 6 #define CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_H_ | 6 #define CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 13 #include "content/common/input/input_event_ack_source.h" | 13 #include "content/common/input/input_event_ack_source.h" |
| 14 #include "content/common/input/input_event_ack_state.h" | 14 #include "content/common/input/input_event_ack_state.h" |
| 15 #include "third_party/WebKit/public/platform/WebInputEvent.h" | 15 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
| 16 #include "ui/events/blink/did_overscroll_params.h" | 16 #include "ui/events/blink/did_overscroll_params.h" |
| 17 #include "ui/events/latency_info.h" | 17 #include "ui/latency/latency_info.h" |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 | 20 |
| 21 // InputEventAck. | 21 // InputEventAck. |
| 22 struct CONTENT_EXPORT InputEventAck { | 22 struct CONTENT_EXPORT InputEventAck { |
| 23 InputEventAck(InputEventAckSource source, | 23 InputEventAck(InputEventAckSource source, |
| 24 blink::WebInputEvent::Type type, | 24 blink::WebInputEvent::Type type, |
| 25 InputEventAckState state, | 25 InputEventAckState state, |
| 26 const ui::LatencyInfo& latency, | 26 const ui::LatencyInfo& latency, |
| 27 std::unique_ptr<ui::DidOverscrollParams> overscroll, | 27 std::unique_ptr<ui::DidOverscrollParams> overscroll, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 45 blink::WebInputEvent::Type type; | 45 blink::WebInputEvent::Type type; |
| 46 InputEventAckState state; | 46 InputEventAckState state; |
| 47 ui::LatencyInfo latency; | 47 ui::LatencyInfo latency; |
| 48 std::unique_ptr<ui::DidOverscrollParams> overscroll; | 48 std::unique_ptr<ui::DidOverscrollParams> overscroll; |
| 49 uint32_t unique_touch_event_id; | 49 uint32_t unique_touch_event_id; |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace content | 52 } // namespace content |
| 53 | 53 |
| 54 #endif // CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_H_ | 54 #endif // CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_H_ |
| OLD | NEW |