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

Unified Diff: content/common/input/synthetic_pointer_action_params.cc

Issue 2634183002: Support multi-button press for synthetic mouse events (Closed)
Patch Set: Test modifiers and 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
Index: content/common/input/synthetic_pointer_action_params.cc
diff --git a/content/common/input/synthetic_pointer_action_params.cc b/content/common/input/synthetic_pointer_action_params.cc
index 84efe479259462cfec12641b12359aefab239f52..a03658ce30733842963120cd65d92d3a6697f732 100644
--- a/content/common/input/synthetic_pointer_action_params.cc
+++ b/content/common/input/synthetic_pointer_action_params.cc
@@ -7,11 +7,13 @@
namespace content {
SyntheticPointerActionParams::SyntheticPointerActionParams()
- : pointer_action_type_(PointerActionType::NOT_INITIALIZED), index_(0) {}
+ : pointer_action_type_(PointerActionType::NOT_INITIALIZED),
+ index_(0),
+ button_(0) {}
SyntheticPointerActionParams::SyntheticPointerActionParams(
PointerActionType action_type)
- : pointer_action_type_(action_type), index_(0) {}
+ : pointer_action_type_(action_type), index_(0), button_(0) {}
SyntheticPointerActionParams::~SyntheticPointerActionParams() {}

Powered by Google App Engine
This is Rietveld 408576698