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

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

Issue 19624005: Add InputEvent and EventPacket types for batched input delivery (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 7 years, 3 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
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_COMMON_INPUT_EVENT_PACKET_ACK_H_
6 #define CONTENT_COMMON_INPUT_EVENT_PACKET_ACK_H_
7
8 #include <vector>
9
10 #include "base/basictypes.h"
11 #include "content/common/content_export.h"
12 #include "content/common/input/input_event_disposition.h"
13
14 namespace content {
15
16 class EventPacket;
17
18 class CONTENT_EXPORT EventPacketAck {
19 public:
20 typedef std::vector<InputEventDisposition> Dispositions;
21
22 EventPacketAck(int64 id, const Dispositions& dispositions);
23 EventPacketAck();
24 ~EventPacketAck();
25
26 // The id of the packet being ack'ed.
27 int64 id;
28
29 // The dispositions of events for the packet being ack'ed.
30 Dispositions dispositions;
31 };
32
33 } // namespace content
34
35 #endif // CONTENT_COMMON_INPUT_EVENT_PACKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698