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 #include "content/common/input/event_packet_test.h" |
| 6 |
| 7 EventPacket::EventPacket() {} |
| 8 |
| 9 EventPacket::~EventPacket() {} |
| 10 |
| 11 void EventPacket::AddEvent(scoped_ptr<InputEvent> event, |
| 12 InputEventState state) { |
| 13 DCHECK(events.size() == states.size()); |
| 14 events.push_back(event.release()); |
| 15 states.push_back(state); |
| 16 } |
| 17 |
| 18 } // namespace content |
| 19 |
| 20 #endif // CONTENT_COMMON_INPUT_EVENT_PACKET_H_ |
OLD | NEW |