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

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

Issue 2849083002: Add pointer id to the WebMouseEvent's constructors (Closed)
Patch Set: webmouseid 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..1077f1d73e5d9f717952e90f560b6af3c43303cd 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,
+ kDefaultMousePointerId),
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), kDefaultMousePointerId),
delta_x(0.0f),
delta_y(0.0f),
wheel_ticks_x(0.0f),

Powered by Google App Engine
This is Rietveld 408576698