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

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

Issue 2742473002: gpu benchmarking swipe for touchpad
Patch Set: Update direction in tests that use swipeElement/Page to maintain the same behavior. Created 3 years, 8 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
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 "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 // This IPC message sends the character bounds after every composition change 339 // This IPC message sends the character bounds after every composition change
339 // to always have correct bound info. 340 // to always have correct bound info.
340 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, 341 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged,
341 gfx::Range /* composition range */, 342 gfx::Range /* composition range */,
342 std::vector<gfx::Rect> /* character bounds */) 343 std::vector<gfx::Rect> /* character bounds */)
343 344
344 // Adding a new message? Stick to the sort order above: first platform 345 // Adding a new message? Stick to the sort order above: first platform
345 // independent InputMsg, then ifdefs for platform specific InputMsg, then 346 // independent InputMsg, then ifdefs for platform specific InputMsg, then
346 // platform independent InputHostMsg, then ifdefs for platform specific 347 // platform independent InputHostMsg, then ifdefs for platform specific
347 // InputHostMsg. 348 // InputHostMsg.
OLDNEW
« no previous file with comments | « content/common/input/synthetic_smooth_scroll_gesture_params.cc ('k') | content/renderer/gpu/gpu_benchmarking_extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698