Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 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_INPUT_EVENT_ACK_H_ | |
| 6 #define CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_H_ | |
| 7 | |
| 8 #include "base/memory/scoped_ptr.h" | |
| 9 #include "content/common/content_export.h" | |
| 10 #include "content/common/input/did_overscroll_params.h" | |
| 11 #include "content/common/input/input_event_ack_state.h" | |
| 12 #include "third_party/WebKit/public/web/WebInputEvent.h" | |
| 13 #include "ui/events/latency_info.h" | |
| 14 | |
| 15 namespace content { | |
| 16 | |
| 17 struct CONTENT_EXPORT InputEventAck { | |
|
piman
2014/05/19 21:51:13
nit: do you need this as an explicit separate stru
jdduke (slow)
2014/05/19 22:00:21
Not particularly, defining in input_messages.h wor
| |
| 18 InputEventAck(); | |
| 19 ~InputEventAck(); | |
| 20 | |
| 21 blink::WebInputEvent::Type type; | |
| 22 InputEventAckState state; | |
| 23 ui::LatencyInfo latency; | |
| 24 scoped_ptr<DidOverscrollParams> overscroll; | |
| 25 }; | |
| 26 | |
| 27 } // namespace content | |
| 28 | |
| 29 #endif // CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_H_ | |
| OLD | NEW |