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" |
27 #include "ui/gfx/ipc/gfx_param_traits.h" | 28 #include "ui/gfx/ipc/gfx_param_traits.h" |
28 #include "ui/gfx/point.h" | |
29 #include "ui/gfx/range/range.h" | 29 #include "ui/gfx/range/range.h" |
30 #include "ui/gfx/rect.h" | 30 #include "ui/gfx/rect.h" |
31 #include "ui/gfx/vector2d_f.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 |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 // bounds after every composition change to always have correct bound info. | 245 // bounds after every composition change to always have correct bound info. |
246 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, | 246 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, |
247 gfx::Range /* composition range */, | 247 gfx::Range /* composition range */, |
248 std::vector<gfx::Rect> /* character bounds */) | 248 std::vector<gfx::Rect> /* character bounds */) |
249 #endif | 249 #endif |
250 | 250 |
251 // Adding a new message? Stick to the sort order above: first platform | 251 // Adding a new message? Stick to the sort order above: first platform |
252 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 252 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
253 // platform independent InputHostMsg, then ifdefs for platform specific | 253 // platform independent InputHostMsg, then ifdefs for platform specific |
254 // InputHostMsg. | 254 // InputHostMsg. |
OLD | NEW |