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

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: rebase 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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.
OLDNEW
« no previous file with comments | « content/common/input/synthetic_pinch_gesture_params.cc ('k') | content/renderer/gpu/gpu_benchmarking_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698