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/common/input/touch_action.h" |
23 #include "content/public/common/common_param_traits.h" | 23 #include "content/public/common/common_param_traits.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/geometry/point.h" | |
28 #include "ui/gfx/geometry/rect.h" | |
29 #include "ui/gfx/geometry/vector2d_f.h" | |
30 #include "ui/gfx/ipc/gfx_param_traits.h" | 27 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 28 #include "ui/gfx/point.h" |
31 #include "ui/gfx/range/range.h" | 29 #include "ui/gfx/range/range.h" |
| 30 #include "ui/gfx/rect.h" |
| 31 #include "ui/gfx/vector2d_f.h" |
32 | 32 |
33 #undef IPC_MESSAGE_EXPORT | 33 #undef IPC_MESSAGE_EXPORT |
34 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 34 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
35 | 35 |
36 #ifdef IPC_MESSAGE_START | 36 #ifdef IPC_MESSAGE_START |
37 #error IPC_MESSAGE_START | 37 #error IPC_MESSAGE_START |
38 #endif | 38 #endif |
39 | 39 |
40 #define IPC_MESSAGE_START InputMsgStart | 40 #define IPC_MESSAGE_START InputMsgStart |
41 | 41 |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 // This IPC message is also used on Android 5.0 and above. | 261 // This IPC message is also used on Android 5.0 and above. |
262 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, | 262 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, |
263 gfx::Range /* composition range */, | 263 gfx::Range /* composition range */, |
264 std::vector<gfx::Rect> /* character bounds */) | 264 std::vector<gfx::Rect> /* character bounds */) |
265 #endif | 265 #endif |
266 | 266 |
267 // Adding a new message? Stick to the sort order above: first platform | 267 // Adding a new message? Stick to the sort order above: first platform |
268 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 268 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
269 // platform independent InputHostMsg, then ifdefs for platform specific | 269 // platform independent InputHostMsg, then ifdefs for platform specific |
270 // InputHostMsg. | 270 // InputHostMsg. |
OLD | NEW |