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/did_overscroll_params.h" | 13 #include "content/common/input/did_overscroll_params.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/web/WebInputEvent.h" | 15 #include "third_party/WebKit/public/web/WebInputEvent.h" |
16 #include "ui/latency_info/latency_info.h" | 16 #include "ui/events/latency_info.h" |
17 | 17 |
18 namespace content { | 18 namespace content { |
19 | 19 |
20 // InputEventAck. | 20 // InputEventAck. |
21 struct CONTENT_EXPORT InputEventAck { | 21 struct CONTENT_EXPORT InputEventAck { |
22 InputEventAck(blink::WebInputEvent::Type type, | 22 InputEventAck(blink::WebInputEvent::Type type, |
23 InputEventAckState state, | 23 InputEventAckState state, |
24 const ui::LatencyInfo& latency, | 24 const ui::LatencyInfo& latency, |
25 std::unique_ptr<content::DidOverscrollParams> overscroll, | 25 std::unique_ptr<content::DidOverscrollParams> overscroll, |
26 uint32_t unique_touch_event_id); | 26 uint32_t unique_touch_event_id); |
(...skipping 11 matching lines...) Expand all Loading... |
38 blink::WebInputEvent::Type type; | 38 blink::WebInputEvent::Type type; |
39 InputEventAckState state; | 39 InputEventAckState state; |
40 ui::LatencyInfo latency; | 40 ui::LatencyInfo latency; |
41 std::unique_ptr<content::DidOverscrollParams> overscroll; | 41 std::unique_ptr<content::DidOverscrollParams> overscroll; |
42 uint32_t unique_touch_event_id; | 42 uint32_t unique_touch_event_id; |
43 }; | 43 }; |
44 | 44 |
45 } // namespace content | 45 } // namespace content |
46 | 46 |
47 #endif // CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_H_ | 47 #endif // CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_H_ |
OLD | NEW |