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

Unified Diff: third_party/WebKit/public/platform/WebMouseWheelEvent.h

Issue 2849083002: Add pointer id to the WebMouseEvent's constructors (Closed)
Patch Set: webmouseidd 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/platform/WebMouseWheelEvent.h
diff --git a/third_party/WebKit/public/platform/WebMouseWheelEvent.h b/third_party/WebKit/public/platform/WebMouseWheelEvent.h
index a0e59af028ab7645a853e5afad4d54b6b85781e6..8514470c0fba569164f8179ccad80c6c46d2e965 100644
--- a/third_party/WebKit/public/platform/WebMouseWheelEvent.h
+++ b/third_party/WebKit/public/platform/WebMouseWheelEvent.h
@@ -57,7 +57,8 @@ class WebMouseWheelEvent : public WebMouseEvent {
: WebMouseEvent(sizeof(WebMouseWheelEvent),
type,
modifiers,
- time_stamp_seconds),
+ time_stamp_seconds,
+ 0),
sadrul 2017/05/01 15:42:11 Shouldn't this be the default mouse-pointer-id?
lanwei 2017/05/01 23:51:21 Done.
delta_x(0.0f),
delta_y(0.0f),
wheel_ticks_x(0.0f),
@@ -73,7 +74,7 @@ class WebMouseWheelEvent : public WebMouseEvent {
dispatch_type(kBlocking) {}
WebMouseWheelEvent()
- : WebMouseEvent(sizeof(WebMouseWheelEvent)),
+ : WebMouseEvent(sizeof(WebMouseWheelEvent), 0),
delta_x(0.0f),
delta_y(0.0f),
wheel_ticks_x(0.0f),

Powered by Google App Engine
This is Rietveld 408576698