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

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

Issue 1707943002: Add SyntheticPointerActionParams used in Chromedriver extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 IPC_STRUCT_TRAITS_MEMBER(anchor) 98 IPC_STRUCT_TRAITS_MEMBER(anchor)
99 IPC_STRUCT_TRAITS_MEMBER(relative_pointer_speed_in_pixels_s) 99 IPC_STRUCT_TRAITS_MEMBER(relative_pointer_speed_in_pixels_s)
100 IPC_STRUCT_TRAITS_END() 100 IPC_STRUCT_TRAITS_END()
101 101
102 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticTapGestureParams) 102 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticTapGestureParams)
103 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) 103 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams)
104 IPC_STRUCT_TRAITS_MEMBER(position) 104 IPC_STRUCT_TRAITS_MEMBER(position)
105 IPC_STRUCT_TRAITS_MEMBER(duration_ms) 105 IPC_STRUCT_TRAITS_MEMBER(duration_ms)
106 IPC_STRUCT_TRAITS_END() 106 IPC_STRUCT_TRAITS_END()
107 107
108 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPointerActionParams)
109 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams)
110 IPC_STRUCT_TRAITS_MEMBER(position)
111 IPC_STRUCT_TRAITS_MEMBER(duration_ms)
112 IPC_STRUCT_TRAITS_MEMBER(index)
113 IPC_STRUCT_TRAITS_MEMBER(pointer_action_type)
114 IPC_STRUCT_TRAITS_END()
samuong 2016/02/17 22:15:48 When we do a press, we need to pass the touch id b
lanwei 2016/02/26 18:39:26 We do not need to pass the index back to the chrom
115
108 IPC_STRUCT_TRAITS_BEGIN(content::InputEventAck) 116 IPC_STRUCT_TRAITS_BEGIN(content::InputEventAck)
109 IPC_STRUCT_TRAITS_MEMBER(type) 117 IPC_STRUCT_TRAITS_MEMBER(type)
110 IPC_STRUCT_TRAITS_MEMBER(state) 118 IPC_STRUCT_TRAITS_MEMBER(state)
111 IPC_STRUCT_TRAITS_MEMBER(latency) 119 IPC_STRUCT_TRAITS_MEMBER(latency)
112 IPC_STRUCT_TRAITS_MEMBER(overscroll) 120 IPC_STRUCT_TRAITS_MEMBER(overscroll)
113 IPC_STRUCT_TRAITS_MEMBER(unique_touch_event_id) 121 IPC_STRUCT_TRAITS_MEMBER(unique_touch_event_id)
114 IPC_STRUCT_TRAITS_END() 122 IPC_STRUCT_TRAITS_END()
115 123
116 // Sends an input event to the render widget. 124 // Sends an input event to the render widget.
117 IPC_MESSAGE_ROUTED2(InputMsg_HandleInputEvent, 125 IPC_MESSAGE_ROUTED2(InputMsg_HandleInputEvent,
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 // This IPC message sends the character bounds after every composition change 292 // This IPC message sends the character bounds after every composition change
285 // to always have correct bound info. 293 // to always have correct bound info.
286 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, 294 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged,
287 gfx::Range /* composition range */, 295 gfx::Range /* composition range */,
288 std::vector<gfx::Rect> /* character bounds */) 296 std::vector<gfx::Rect> /* character bounds */)
289 297
290 // Adding a new message? Stick to the sort order above: first platform 298 // Adding a new message? Stick to the sort order above: first platform
291 // independent InputMsg, then ifdefs for platform specific InputMsg, then 299 // independent InputMsg, then ifdefs for platform specific InputMsg, then
292 // platform independent InputHostMsg, then ifdefs for platform specific 300 // platform independent InputHostMsg, then ifdefs for platform specific
293 // InputHostMsg. 301 // InputHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698