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" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) | 90 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) |
91 IPC_STRUCT_TRAITS_MEMBER(start_point) | 91 IPC_STRUCT_TRAITS_MEMBER(start_point) |
92 IPC_STRUCT_TRAITS_MEMBER(distances) | 92 IPC_STRUCT_TRAITS_MEMBER(distances) |
93 IPC_STRUCT_TRAITS_MEMBER(speed_in_pixels_s) | 93 IPC_STRUCT_TRAITS_MEMBER(speed_in_pixels_s) |
94 IPC_STRUCT_TRAITS_END() | 94 IPC_STRUCT_TRAITS_END() |
95 | 95 |
96 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticSmoothScrollGestureParams) | 96 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticSmoothScrollGestureParams) |
97 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) | 97 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) |
98 IPC_STRUCT_TRAITS_MEMBER(anchor) | 98 IPC_STRUCT_TRAITS_MEMBER(anchor) |
99 IPC_STRUCT_TRAITS_MEMBER(distances) | 99 IPC_STRUCT_TRAITS_MEMBER(distances) |
| 100 IPC_STRUCT_TRAITS_MEMBER(velocity) |
100 IPC_STRUCT_TRAITS_MEMBER(prevent_fling) | 101 IPC_STRUCT_TRAITS_MEMBER(prevent_fling) |
101 IPC_STRUCT_TRAITS_MEMBER(speed_in_pixels_s) | 102 IPC_STRUCT_TRAITS_MEMBER(speed_in_pixels_s) |
102 IPC_STRUCT_TRAITS_END() | 103 IPC_STRUCT_TRAITS_END() |
103 | 104 |
104 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPinchGestureParams) | 105 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPinchGestureParams) |
105 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) | 106 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) |
106 IPC_STRUCT_TRAITS_MEMBER(scale_factor) | 107 IPC_STRUCT_TRAITS_MEMBER(scale_factor) |
107 IPC_STRUCT_TRAITS_MEMBER(anchor) | 108 IPC_STRUCT_TRAITS_MEMBER(anchor) |
108 IPC_STRUCT_TRAITS_MEMBER(relative_pointer_speed_in_pixels_s) | 109 IPC_STRUCT_TRAITS_MEMBER(relative_pointer_speed_in_pixels_s) |
109 IPC_STRUCT_TRAITS_END() | 110 IPC_STRUCT_TRAITS_END() |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 // This IPC message sends the character bounds after every composition change | 334 // This IPC message sends the character bounds after every composition change |
334 // to always have correct bound info. | 335 // to always have correct bound info. |
335 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, | 336 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, |
336 gfx::Range /* composition range */, | 337 gfx::Range /* composition range */, |
337 std::vector<gfx::Rect> /* character bounds */) | 338 std::vector<gfx::Rect> /* character bounds */) |
338 | 339 |
339 // Adding a new message? Stick to the sort order above: first platform | 340 // Adding a new message? Stick to the sort order above: first platform |
340 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 341 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
341 // platform independent InputHostMsg, then ifdefs for platform specific | 342 // platform independent InputHostMsg, then ifdefs for platform specific |
342 // InputHostMsg. | 343 // InputHostMsg. |
OLD | NEW |