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_ack_state.h" | 14 #include "content/common/input/input_event_ack_state.h" |
15 #include "content/common/input/input_param_traits.h" | 15 #include "content/common/input/input_param_traits.h" |
16 #include "content/common/input/synthetic_gesture_packet.h" | 16 #include "content/common/input/synthetic_gesture_packet.h" |
17 #include "content/common/input/synthetic_gesture_params.h" | 17 #include "content/common/input/synthetic_gesture_params.h" |
18 #include "content/common/input/synthetic_pinch_gesture_params.h" | 18 #include "content/common/input/synthetic_pinch_gesture_params.h" |
19 #include "content/common/input/synthetic_smooth_scroll_gesture_params.h" | 19 #include "content/common/input/synthetic_smooth_scroll_gesture_params.h" |
20 #include "content/common/input/synthetic_tap_gesture_params.h" | 20 #include "content/common/input/synthetic_tap_gesture_params.h" |
21 #include "content/public/common/common_param_traits.h" | 21 #include "content/public/common/common_param_traits.h" |
22 #include "content/common/input/touch_action.h" | 22 #include "content/common/input/touch_action.h" |
23 #include "ipc/ipc_message_macros.h" | 23 #include "ipc/ipc_message_macros.h" |
24 #include "third_party/WebKit/public/web/WebInputEvent.h" | 24 #include "third_party/WebKit/public/web/WebInputEvent.h" |
25 #include "ui/events/latency_info.h" | 25 #include "ui/events/ipc/latency_info_param_traits.h" |
26 #include "ui/gfx/point.h" | 26 #include "ui/gfx/point.h" |
27 #include "ui/gfx/rect.h" | 27 #include "ui/gfx/rect.h" |
28 | 28 |
29 #undef IPC_MESSAGE_EXPORT | 29 #undef IPC_MESSAGE_EXPORT |
30 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 30 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
31 | 31 |
32 #ifdef IPC_MESSAGE_START | 32 #ifdef IPC_MESSAGE_START |
33 #error IPC_MESSAGE_START | 33 #error IPC_MESSAGE_START |
34 #endif | 34 #endif |
35 | 35 |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 content::SyntheticGesturePacket) | 186 content::SyntheticGesturePacket) |
187 | 187 |
188 // Notifies the allowed touch actions for a new touch point. | 188 // Notifies the allowed touch actions for a new touch point. |
189 IPC_MESSAGE_ROUTED1(InputHostMsg_SetTouchAction, | 189 IPC_MESSAGE_ROUTED1(InputHostMsg_SetTouchAction, |
190 content::TouchAction /* touch_action */) | 190 content::TouchAction /* touch_action */) |
191 | 191 |
192 // Adding a new message? Stick to the sort order above: first platform | 192 // Adding a new message? Stick to the sort order above: first platform |
193 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 193 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
194 // platform independent InputHostMsg, then ifdefs for platform specific | 194 // platform independent InputHostMsg, then ifdefs for platform specific |
195 // InputHostMsg. | 195 // InputHostMsg. |
OLD | NEW |