Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1267)

Side by Side Diff: content/common/input/input_event_ack.h

Issue 2783973002: Moving LatencyInfo into a separate component. (Closed)
Patch Set: Rebase again Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/input/input_event.h ('k') | content/common/input_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « content/common/input/input_event.h ('k') | content/common/input_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698