OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // IPC messages for input events and other messages that require processing in | 5 // IPC messages for input events and other messages that require processing in |
6 // order relative to input events. | 6 // order relative to input events. |
7 // Multiply-included message file, hence no include guard. | 7 // Multiply-included message file, hence no include guard. |
8 | 8 |
9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
11 #include "content/common/content_param_traits.h" | 11 #include "content/common/content_param_traits.h" |
12 #include "content/common/edit_command.h" | 12 #include "content/common/edit_command.h" |
13 #include "content/common/input/input_event.h" | 13 #include "content/common/input/input_event.h" |
14 #include "content/common/input/input_event_disposition.h" | 14 #include "content/common/input/input_event_disposition.h" |
15 #include "content/common/input/input_param_traits.h" | 15 #include "content/common/input/input_param_traits.h" |
16 #include "content/common/input/ipc_input_event_payload.h" | 16 #include "content/common/input/ipc_input_event_payload.h" |
17 #include "content/common/input/event_packet.h" | 17 #include "content/common/input/event_packet.h" |
18 #include "content/port/common/input_event_ack_state.h" | 18 #include "content/port/common/input_event_ack_state.h" |
19 #include "content/public/common/common_param_traits.h" | 19 #include "content/public/common/common_param_traits.h" |
20 #include "ipc/ipc_message_macros.h" | 20 #include "ipc/ipc_message_macros.h" |
21 #include "third_party/WebKit/public/web/WebInputEvent.h" | 21 #include "third_party/WebKit/public/web/WebInputEvent.h" |
22 #include "ui/base/latency_info.h" | 22 #include "ui/events/latency_info.h" |
23 #include "ui/gfx/point.h" | 23 #include "ui/gfx/point.h" |
24 #include "ui/gfx/rect.h" | 24 #include "ui/gfx/rect.h" |
25 | 25 |
26 #undef IPC_MESSAGE_EXPORT | 26 #undef IPC_MESSAGE_EXPORT |
27 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 27 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
28 | 28 |
29 #ifdef IPC_MESSAGE_START | 29 #ifdef IPC_MESSAGE_START |
30 #error IPC_MESSAGE_START | 30 #error IPC_MESSAGE_START |
31 #endif | 31 #endif |
32 | 32 |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 | 152 |
153 IPC_MESSAGE_ROUTED2(InputHostMsg_HandleEventPacket_ACK, | 153 IPC_MESSAGE_ROUTED2(InputHostMsg_HandleEventPacket_ACK, |
154 int64 /* event_packet_id */, | 154 int64 /* event_packet_id */, |
155 content::InputEventDispositions /* dispositions */) | 155 content::InputEventDispositions /* dispositions */) |
156 | 156 |
157 | 157 |
158 // Adding a new message? Stick to the sort order above: first platform | 158 // Adding a new message? Stick to the sort order above: first platform |
159 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 159 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
160 // platform independent InputHostMsg, then ifdefs for platform specific | 160 // platform independent InputHostMsg, then ifdefs for platform specific |
161 // InputHostMsg. | 161 // InputHostMsg. |
OLD | NEW |