OLD | NEW |
(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_H_ |
| 6 #define CONTENT_COMMON_INPUT_EVENT_PACKET_H_ |
| 7 |
| 8 #include <vector> |
| 9 |
| 10 #include "base/memory/scoped_vector.h" |
| 11 #include "content/common/content_export.h" |
| 12 #include "content/common/input/input_event_state.h" |
| 13 |
| 14 namespace content { |
| 15 |
| 16 class InputEvent; |
| 17 |
| 18 class CONTENT_EXPORT EventPacket { |
| 19 public: |
| 20 EventPacket(); |
| 21 ~EventPacket(); |
| 22 |
| 23 int64 id; |
| 24 ScopedVector<InputEvent> events; |
| 25 std::vector<InputEventState> event_states; |
| 26 |
| 27 private: |
| 28 DISALLOW_COPY_AND_ASSIGN(EventPacket); |
| 29 }; |
| 30 |
| 31 } // namespace content |
| 32 |
| 33 #endif // CONTENT_COMMON_INPUT_EVENT_PACKET_H_ |
OLD | NEW |