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/did_overscroll_params.h" | 13 #include "content/common/input/did_overscroll_params.h" |
14 #include "content/common/input/input_event.h" | 14 #include "content/common/input/input_event.h" |
15 #include "content/common/input/input_event_ack_state.h" | 15 #include "content/common/input/input_event_ack_state.h" |
16 #include "content/common/input/input_param_traits.h" | 16 #include "content/common/input/input_param_traits.h" |
17 #include "content/common/input/synthetic_gesture_packet.h" | 17 #include "content/common/input/synthetic_gesture_packet.h" |
18 #include "content/common/input/synthetic_gesture_params.h" | 18 #include "content/common/input/synthetic_gesture_params.h" |
19 #include "content/common/input/synthetic_pinch_gesture_params.h" | 19 #include "content/common/input/synthetic_pinch_gesture_params.h" |
20 #include "content/common/input/synthetic_smooth_scroll_gesture_params.h" | 20 #include "content/common/input/synthetic_smooth_scroll_gesture_params.h" |
21 #include "content/common/input/synthetic_tap_gesture_params.h" | 21 #include "content/common/input/synthetic_tap_gesture_params.h" |
| 22 #include "content/common/input/touch_action.h" |
22 #include "content/public/common/common_param_traits.h" | 23 #include "content/public/common/common_param_traits.h" |
23 #include "content/common/input/touch_action.h" | |
24 #include "ipc/ipc_message_macros.h" | 24 #include "ipc/ipc_message_macros.h" |
25 #include "third_party/WebKit/public/web/WebInputEvent.h" | 25 #include "third_party/WebKit/public/web/WebInputEvent.h" |
26 #include "ui/events/ipc/latency_info_param_traits.h" | 26 #include "ui/events/ipc/latency_info_param_traits.h" |
| 27 #include "ui/gfx/ipc/gfx_param_traits.h" |
27 #include "ui/gfx/point.h" | 28 #include "ui/gfx/point.h" |
28 #include "ui/gfx/rect.h" | 29 #include "ui/gfx/rect.h" |
29 #include "ui/gfx/vector2d_f.h" | 30 #include "ui/gfx/vector2d_f.h" |
30 | 31 |
31 #undef IPC_MESSAGE_EXPORT | 32 #undef IPC_MESSAGE_EXPORT |
32 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 33 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
33 | 34 |
34 #ifdef IPC_MESSAGE_START | 35 #ifdef IPC_MESSAGE_START |
35 #error IPC_MESSAGE_START | 36 #error IPC_MESSAGE_START |
36 #endif | 37 #endif |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 | 205 |
205 // Sent by the compositor when input scroll events are dropped due to bounds | 206 // Sent by the compositor when input scroll events are dropped due to bounds |
206 // restrictions on the root scroll offset. | 207 // restrictions on the root scroll offset. |
207 IPC_MESSAGE_ROUTED1(InputHostMsg_DidOverscroll, | 208 IPC_MESSAGE_ROUTED1(InputHostMsg_DidOverscroll, |
208 content::DidOverscrollParams /* params */) | 209 content::DidOverscrollParams /* params */) |
209 | 210 |
210 // Adding a new message? Stick to the sort order above: first platform | 211 // Adding a new message? Stick to the sort order above: first platform |
211 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 212 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
212 // platform independent InputHostMsg, then ifdefs for platform specific | 213 // platform independent InputHostMsg, then ifdefs for platform specific |
213 // InputHostMsg. | 214 // InputHostMsg. |
OLD | NEW |