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 "build/build_config.h" | 10 #include "build/build_config.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/common/input/did_overscroll_params.h" | 14 #include "content/common/input/did_overscroll_params.h" |
15 #include "content/common/input/input_event.h" | 15 #include "content/common/input/input_event.h" |
16 #include "content/common/input/input_event_ack.h" | 16 #include "content/common/input/input_event_ack.h" |
17 #include "content/common/input/input_event_ack_state.h" | 17 #include "content/common/input/input_event_ack_state.h" |
18 #include "content/common/input/input_event_dispatch_type.h" | 18 #include "content/common/input/input_event_dispatch_type.h" |
19 #include "content/common/input/input_param_traits.h" | 19 #include "content/common/input/input_param_traits.h" |
20 #include "content/common/input/synthetic_gesture_packet.h" | 20 #include "content/common/input/synthetic_gesture_packet.h" |
21 #include "content/common/input/synthetic_gesture_params.h" | 21 #include "content/common/input/synthetic_gesture_params.h" |
22 #include "content/common/input/synthetic_pinch_gesture_params.h" | 22 #include "content/common/input/synthetic_pinch_gesture_params.h" |
23 #include "content/common/input/synthetic_pointer_action_params.h" | 23 #include "content/common/input/synthetic_pointer_action_params.h" |
24 #include "content/common/input/synthetic_smooth_drag_gesture_params.h" | 24 #include "content/common/input/synthetic_smooth_drag_gesture_params.h" |
25 #include "content/common/input/synthetic_smooth_scroll_gesture_params.h" | 25 #include "content/common/input/synthetic_smooth_scroll_gesture_params.h" |
26 #include "content/common/input/synthetic_tap_gesture_params.h" | 26 #include "content/common/input/synthetic_tap_gesture_params.h" |
27 #include "content/common/input/touch_action.h" | 27 #include "content/common/input/touch_action.h" |
28 #include "ipc/ipc_message_macros.h" | 28 #include "ipc/ipc_message_macros.h" |
29 #include "third_party/WebKit/public/web/WebInputEvent.h" | 29 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 30 #include "ui/events/ipc/latency_info_param_traits.h" |
30 #include "ui/gfx/geometry/point.h" | 31 #include "ui/gfx/geometry/point.h" |
31 #include "ui/gfx/geometry/rect.h" | 32 #include "ui/gfx/geometry/rect.h" |
32 #include "ui/gfx/geometry/vector2d_f.h" | 33 #include "ui/gfx/geometry/vector2d_f.h" |
33 #include "ui/gfx/ipc/gfx_param_traits.h" | 34 #include "ui/gfx/ipc/gfx_param_traits.h" |
34 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" | 35 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" |
35 #include "ui/gfx/range/range.h" | 36 #include "ui/gfx/range/range.h" |
36 #include "ui/latency_info/ipc/latency_info_param_traits.h" | |
37 | 37 |
38 #undef IPC_MESSAGE_EXPORT | 38 #undef IPC_MESSAGE_EXPORT |
39 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 39 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
40 | 40 |
41 #ifdef IPC_MESSAGE_START | 41 #ifdef IPC_MESSAGE_START |
42 #error IPC_MESSAGE_START | 42 #error IPC_MESSAGE_START |
43 #endif | 43 #endif |
44 | 44 |
45 #define IPC_MESSAGE_START InputMsgStart | 45 #define IPC_MESSAGE_START InputMsgStart |
46 | 46 |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 // This IPC message sends the character bounds after every composition change | 302 // This IPC message sends the character bounds after every composition change |
303 // to always have correct bound info. | 303 // to always have correct bound info. |
304 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, | 304 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, |
305 gfx::Range /* composition range */, | 305 gfx::Range /* composition range */, |
306 std::vector<gfx::Rect> /* character bounds */) | 306 std::vector<gfx::Rect> /* character bounds */) |
307 | 307 |
308 // Adding a new message? Stick to the sort order above: first platform | 308 // Adding a new message? Stick to the sort order above: first platform |
309 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 309 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
310 // platform independent InputHostMsg, then ifdefs for platform specific | 310 // platform independent InputHostMsg, then ifdefs for platform specific |
311 // InputHostMsg. | 311 // InputHostMsg. |
OLD | NEW |