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

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, 7 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..4b4988590fa07b146b761c129bbe33bb6c6d1e12 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,
+ kMousePointerId),
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), kMousePointerId),
delta_x(0.0f),
delta_y(0.0f),
wheel_ticks_x(0.0f),
« no previous file with comments | « third_party/WebKit/public/platform/WebMouseEvent.h ('k') | third_party/WebKit/public/platform/WebPointerProperties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698