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/string16.h" | 9 #include "base/string16.h" |
10 #include "cc/debug/latency_info.h" | 10 #include "cc/debug/latency_info.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "content/common/content_param_traits.h" | 12 #include "content/common/content_param_traits.h" |
13 #include "content/common/edit_command.h" | 13 #include "content/common/edit_command.h" |
14 #include "content/port/common/input_event_ack_state.h" | |
15 #include "content/public/common/common_param_traits.h" | 14 #include "content/public/common/common_param_traits.h" |
| 15 #include "content/public/common/input_event_ack_state.h" |
16 #include "ipc/ipc_message_macros.h" | 16 #include "ipc/ipc_message_macros.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
18 #include "ui/gfx/point.h" | 18 #include "ui/gfx/point.h" |
19 #include "ui/gfx/rect.h" | 19 #include "ui/gfx/rect.h" |
20 | 20 |
21 #undef IPC_MESSAGE_EXPORT | 21 #undef IPC_MESSAGE_EXPORT |
22 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 22 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
23 | 23 |
24 #ifdef IPC_MESSAGE_START | 24 #ifdef IPC_MESSAGE_START |
25 #error IPC_MESSAGE_START | 25 #error IPC_MESSAGE_START |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 // Acknowledges receipt of a InputMsg_HandleInputEvent message. | 128 // Acknowledges receipt of a InputMsg_HandleInputEvent message. |
129 IPC_MESSAGE_ROUTED2(InputHostMsg_HandleInputEvent_ACK, | 129 IPC_MESSAGE_ROUTED2(InputHostMsg_HandleInputEvent_ACK, |
130 WebKit::WebInputEvent::Type, | 130 WebKit::WebInputEvent::Type, |
131 content::InputEventAckState /* ack_result */) | 131 content::InputEventAckState /* ack_result */) |
132 | 132 |
133 | 133 |
134 // Adding a new message? Stick to the sort order above: first platform | 134 // Adding a new message? Stick to the sort order above: first platform |
135 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 135 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
136 // platform independent InputHostMsg, then ifdefs for platform specific | 136 // platform independent InputHostMsg, then ifdefs for platform specific |
137 // InputHostMsg. | 137 // InputHostMsg. |
OLD | NEW |