| 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" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticSmoothScrollGestureParams) | 77 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticSmoothScrollGestureParams) |
| 78 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) | 78 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) |
| 79 IPC_STRUCT_TRAITS_MEMBER(anchor) | 79 IPC_STRUCT_TRAITS_MEMBER(anchor) |
| 80 IPC_STRUCT_TRAITS_MEMBER(distances) | 80 IPC_STRUCT_TRAITS_MEMBER(distances) |
| 81 IPC_STRUCT_TRAITS_MEMBER(prevent_fling) | 81 IPC_STRUCT_TRAITS_MEMBER(prevent_fling) |
| 82 IPC_STRUCT_TRAITS_MEMBER(speed_in_pixels_s) | 82 IPC_STRUCT_TRAITS_MEMBER(speed_in_pixels_s) |
| 83 IPC_STRUCT_TRAITS_END() | 83 IPC_STRUCT_TRAITS_END() |
| 84 | 84 |
| 85 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPinchGestureParams) | 85 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPinchGestureParams) |
| 86 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) | 86 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) |
| 87 IPC_STRUCT_TRAITS_MEMBER(zoom_in) | 87 IPC_STRUCT_TRAITS_MEMBER(scale_factor) |
| 88 IPC_STRUCT_TRAITS_MEMBER(total_num_pixels_covered) | |
| 89 IPC_STRUCT_TRAITS_MEMBER(anchor) | 88 IPC_STRUCT_TRAITS_MEMBER(anchor) |
| 90 IPC_STRUCT_TRAITS_MEMBER(relative_pointer_speed_in_pixels_s) | 89 IPC_STRUCT_TRAITS_MEMBER(relative_pointer_speed_in_pixels_s) |
| 91 IPC_STRUCT_TRAITS_END() | 90 IPC_STRUCT_TRAITS_END() |
| 92 | 91 |
| 93 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticTapGestureParams) | 92 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticTapGestureParams) |
| 94 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) | 93 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) |
| 95 IPC_STRUCT_TRAITS_MEMBER(position) | 94 IPC_STRUCT_TRAITS_MEMBER(position) |
| 96 IPC_STRUCT_TRAITS_MEMBER(duration_ms) | 95 IPC_STRUCT_TRAITS_MEMBER(duration_ms) |
| 97 IPC_STRUCT_TRAITS_END() | 96 IPC_STRUCT_TRAITS_END() |
| 98 | 97 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 | 204 |
| 206 // Sent by the compositor when input scroll events are dropped due to bounds | 205 // Sent by the compositor when input scroll events are dropped due to bounds |
| 207 // restrictions on the root scroll offset. | 206 // restrictions on the root scroll offset. |
| 208 IPC_MESSAGE_ROUTED1(InputHostMsg_DidOverscroll, | 207 IPC_MESSAGE_ROUTED1(InputHostMsg_DidOverscroll, |
| 209 content::DidOverscrollParams /* params */) | 208 content::DidOverscrollParams /* params */) |
| 210 | 209 |
| 211 // Adding a new message? Stick to the sort order above: first platform | 210 // Adding a new message? Stick to the sort order above: first platform |
| 212 // independent InputMsg, then ifdefs for platform specific InputMsg, then | 211 // independent InputMsg, then ifdefs for platform specific InputMsg, then |
| 213 // platform independent InputHostMsg, then ifdefs for platform specific | 212 // platform independent InputHostMsg, then ifdefs for platform specific |
| 214 // InputHostMsg. | 213 // InputHostMsg. |
| OLD | NEW |