| Index: content/common/input/event_packet_ack.h
|
| diff --git a/content/common/input/event_packet_ack.h b/content/common/input/event_packet_ack.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..508e937137925c5b30022f2d86fe33704e04b22f
|
| --- /dev/null
|
| +++ b/content/common/input/event_packet_ack.h
|
| @@ -0,0 +1,35 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_COMMON_INPUT_EVENT_PACKET_ACK_H_
|
| +#define CONTENT_COMMON_INPUT_EVENT_PACKET_ACK_H_
|
| +
|
| +#include <vector>
|
| +
|
| +#include "base/basictypes.h"
|
| +#include "content/common/content_export.h"
|
| +#include "content/common/input/input_event_disposition.h"
|
| +
|
| +namespace content {
|
| +
|
| +class EventPacket;
|
| +
|
| +class CONTENT_EXPORT EventPacketAck {
|
| + public:
|
| + typedef std::vector<InputEventDisposition> Dispositions;
|
| +
|
| + EventPacketAck(int64 id, const Dispositions& dispositions);
|
| + EventPacketAck();
|
| + ~EventPacketAck();
|
| +
|
| + // The id of the packet being ack'ed.
|
| + int64 id;
|
| +
|
| + // The dispositions of events for the packet being ack'ed.
|
| + Dispositions dispositions;
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_COMMON_INPUT_EVENT_PACKET_H_
|
|
|