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

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

Issue 2634183002: Support multi-button press for synthetic mouse events (Closed)
Patch Set: button Created 3 years, 11 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
« no previous file with comments | « content/common/input/synthetic_web_input_event_builders.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 IPC_ENUM_TRAITS_MAX_VALUE( 51 IPC_ENUM_TRAITS_MAX_VALUE(
52 content::SyntheticGestureParams::GestureSourceType, 52 content::SyntheticGestureParams::GestureSourceType,
53 content::SyntheticGestureParams::GESTURE_SOURCE_TYPE_MAX) 53 content::SyntheticGestureParams::GESTURE_SOURCE_TYPE_MAX)
54 IPC_ENUM_TRAITS_MAX_VALUE( 54 IPC_ENUM_TRAITS_MAX_VALUE(
55 content::SyntheticGestureParams::GestureType, 55 content::SyntheticGestureParams::GestureType,
56 content::SyntheticGestureParams::SYNTHETIC_GESTURE_TYPE_MAX) 56 content::SyntheticGestureParams::SYNTHETIC_GESTURE_TYPE_MAX)
57 IPC_ENUM_TRAITS_MAX_VALUE( 57 IPC_ENUM_TRAITS_MAX_VALUE(
58 content::SyntheticPointerActionParams::PointerActionType, 58 content::SyntheticPointerActionParams::PointerActionType,
59 content::SyntheticPointerActionParams::PointerActionType:: 59 content::SyntheticPointerActionParams::PointerActionType::
60 POINTER_ACTION_TYPE_MAX) 60 POINTER_ACTION_TYPE_MAX)
61 IPC_ENUM_TRAITS_MAX_VALUE(
62 content::SyntheticPointerActionParams::Button,
63 content::SyntheticPointerActionParams::Button::BUTTON_MAX)
61 IPC_ENUM_TRAITS_MAX_VALUE(content::InputEventDispatchType, 64 IPC_ENUM_TRAITS_MAX_VALUE(content::InputEventDispatchType,
62 content::InputEventDispatchType::DISPATCH_TYPE_MAX) 65 content::InputEventDispatchType::DISPATCH_TYPE_MAX)
63 IPC_ENUM_TRAITS_MAX_VALUE(content::TouchAction, content::TOUCH_ACTION_MAX) 66 IPC_ENUM_TRAITS_MAX_VALUE(content::TouchAction, content::TOUCH_ACTION_MAX)
64 67
65 IPC_STRUCT_TRAITS_BEGIN(ui::DidOverscrollParams) 68 IPC_STRUCT_TRAITS_BEGIN(ui::DidOverscrollParams)
66 IPC_STRUCT_TRAITS_MEMBER(accumulated_overscroll) 69 IPC_STRUCT_TRAITS_MEMBER(accumulated_overscroll)
67 IPC_STRUCT_TRAITS_MEMBER(latest_overscroll_delta) 70 IPC_STRUCT_TRAITS_MEMBER(latest_overscroll_delta)
68 IPC_STRUCT_TRAITS_MEMBER(current_fling_velocity) 71 IPC_STRUCT_TRAITS_MEMBER(current_fling_velocity)
69 IPC_STRUCT_TRAITS_MEMBER(causal_event_viewport_point) 72 IPC_STRUCT_TRAITS_MEMBER(causal_event_viewport_point)
70 IPC_STRUCT_TRAITS_END() 73 IPC_STRUCT_TRAITS_END()
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticTapGestureParams) 111 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticTapGestureParams)
109 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) 112 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams)
110 IPC_STRUCT_TRAITS_MEMBER(position) 113 IPC_STRUCT_TRAITS_MEMBER(position)
111 IPC_STRUCT_TRAITS_MEMBER(duration_ms) 114 IPC_STRUCT_TRAITS_MEMBER(duration_ms)
112 IPC_STRUCT_TRAITS_END() 115 IPC_STRUCT_TRAITS_END()
113 116
114 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPointerActionParams) 117 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPointerActionParams)
115 IPC_STRUCT_TRAITS_MEMBER(pointer_action_type_) 118 IPC_STRUCT_TRAITS_MEMBER(pointer_action_type_)
116 IPC_STRUCT_TRAITS_MEMBER(index_) 119 IPC_STRUCT_TRAITS_MEMBER(index_)
117 IPC_STRUCT_TRAITS_MEMBER(position_) 120 IPC_STRUCT_TRAITS_MEMBER(position_)
121 IPC_STRUCT_TRAITS_MEMBER(button_)
118 IPC_STRUCT_TRAITS_END() 122 IPC_STRUCT_TRAITS_END()
119 123
120 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPointerActionListParams) 124 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPointerActionListParams)
121 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams) 125 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams)
122 IPC_STRUCT_TRAITS_MEMBER(params) 126 IPC_STRUCT_TRAITS_MEMBER(params)
123 IPC_STRUCT_TRAITS_END() 127 IPC_STRUCT_TRAITS_END()
124 128
125 IPC_STRUCT_TRAITS_BEGIN(content::InputEventAck) 129 IPC_STRUCT_TRAITS_BEGIN(content::InputEventAck)
126 IPC_STRUCT_TRAITS_MEMBER(source) 130 IPC_STRUCT_TRAITS_MEMBER(source)
127 IPC_STRUCT_TRAITS_MEMBER(type) 131 IPC_STRUCT_TRAITS_MEMBER(type)
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 // This IPC message sends the character bounds after every composition change 320 // This IPC message sends the character bounds after every composition change
317 // to always have correct bound info. 321 // to always have correct bound info.
318 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged, 322 IPC_MESSAGE_ROUTED2(InputHostMsg_ImeCompositionRangeChanged,
319 gfx::Range /* composition range */, 323 gfx::Range /* composition range */,
320 std::vector<gfx::Rect> /* character bounds */) 324 std::vector<gfx::Rect> /* character bounds */)
321 325
322 // Adding a new message? Stick to the sort order above: first platform 326 // Adding a new message? Stick to the sort order above: first platform
323 // independent InputMsg, then ifdefs for platform specific InputMsg, then 327 // independent InputMsg, then ifdefs for platform specific InputMsg, then
324 // platform independent InputHostMsg, then ifdefs for platform specific 328 // platform independent InputHostMsg, then ifdefs for platform specific
325 // InputHostMsg. 329 // InputHostMsg.
OLDNEW
« no previous file with comments | « content/common/input/synthetic_web_input_event_builders.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698