Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(730)

Side by Side Diff: content/common/input_messages.h

Issue 293683002: Synthetic pinch gesture take scale factor as parameter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticSmoothScrollGestureParams) 69 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticSmoothScrollGestureParams)
70 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) 70 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams)
71 IPC_STRUCT_TRAITS_MEMBER(anchor) 71 IPC_STRUCT_TRAITS_MEMBER(anchor)
72 IPC_STRUCT_TRAITS_MEMBER(distances) 72 IPC_STRUCT_TRAITS_MEMBER(distances)
73 IPC_STRUCT_TRAITS_MEMBER(prevent_fling) 73 IPC_STRUCT_TRAITS_MEMBER(prevent_fling)
74 IPC_STRUCT_TRAITS_MEMBER(speed_in_pixels_s) 74 IPC_STRUCT_TRAITS_MEMBER(speed_in_pixels_s)
75 IPC_STRUCT_TRAITS_END() 75 IPC_STRUCT_TRAITS_END()
76 76
77 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPinchGestureParams) 77 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPinchGestureParams)
78 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) 78 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams)
79 IPC_STRUCT_TRAITS_MEMBER(zoom_in) 79 IPC_STRUCT_TRAITS_MEMBER(scale_factor)
80 IPC_STRUCT_TRAITS_MEMBER(total_num_pixels_covered)
81 IPC_STRUCT_TRAITS_MEMBER(anchor) 80 IPC_STRUCT_TRAITS_MEMBER(anchor)
82 IPC_STRUCT_TRAITS_MEMBER(relative_pointer_speed_in_pixels_s) 81 IPC_STRUCT_TRAITS_MEMBER(relative_pointer_speed_in_pixels_s)
83 IPC_STRUCT_TRAITS_END() 82 IPC_STRUCT_TRAITS_END()
84 83
85 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticTapGestureParams) 84 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticTapGestureParams)
86 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) 85 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams)
87 IPC_STRUCT_TRAITS_MEMBER(position) 86 IPC_STRUCT_TRAITS_MEMBER(position)
88 IPC_STRUCT_TRAITS_MEMBER(duration_ms) 87 IPC_STRUCT_TRAITS_MEMBER(duration_ms)
89 IPC_STRUCT_TRAITS_END() 88 IPC_STRUCT_TRAITS_END()
90 89
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 content::SyntheticGesturePacket) 185 content::SyntheticGesturePacket)
187 186
188 // Notifies the allowed touch actions for a new touch point. 187 // Notifies the allowed touch actions for a new touch point.
189 IPC_MESSAGE_ROUTED1(InputHostMsg_SetTouchAction, 188 IPC_MESSAGE_ROUTED1(InputHostMsg_SetTouchAction,
190 content::TouchAction /* touch_action */) 189 content::TouchAction /* touch_action */)
191 190
192 // Adding a new message? Stick to the sort order above: first platform 191 // Adding a new message? Stick to the sort order above: first platform
193 // independent InputMsg, then ifdefs for platform specific InputMsg, then 192 // independent InputMsg, then ifdefs for platform specific InputMsg, then
194 // platform independent InputHostMsg, then ifdefs for platform specific 193 // platform independent InputHostMsg, then ifdefs for platform specific
195 // InputHostMsg. 194 // InputHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698