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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/input_messages.h
diff --git a/content/common/input_messages.h b/content/common/input_messages.h
index eb6d845f000531037438e6cbd5e9395f919d61e9..5a003383667dcca113695a992bf4ad39f59141be 100644
--- a/content/common/input_messages.h
+++ b/content/common/input_messages.h
@@ -58,6 +58,9 @@ IPC_ENUM_TRAITS_MAX_VALUE(
content::SyntheticPointerActionParams::PointerActionType,
content::SyntheticPointerActionParams::PointerActionType::
POINTER_ACTION_TYPE_MAX)
+IPC_ENUM_TRAITS_MAX_VALUE(
+ content::SyntheticPointerActionParams::Button,
+ content::SyntheticPointerActionParams::Button::BUTTON_MAX)
IPC_ENUM_TRAITS_MAX_VALUE(content::InputEventDispatchType,
content::InputEventDispatchType::DISPATCH_TYPE_MAX)
IPC_ENUM_TRAITS_MAX_VALUE(content::TouchAction, content::TOUCH_ACTION_MAX)
@@ -115,6 +118,7 @@ IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPointerActionParams)
IPC_STRUCT_TRAITS_MEMBER(pointer_action_type_)
IPC_STRUCT_TRAITS_MEMBER(index_)
IPC_STRUCT_TRAITS_MEMBER(position_)
+ IPC_STRUCT_TRAITS_MEMBER(button_)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(content::SyntheticPointerActionListParams)
« 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