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

Unified Diff: third_party/WebKit/Source/platform/WebMouseEvent.cpp

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/Source/platform/WebMouseEvent.cpp
diff --git a/third_party/WebKit/Source/platform/WebMouseEvent.cpp b/third_party/WebKit/Source/platform/WebMouseEvent.cpp
index 310c6bc3c3621ad8c8b98b4a19fd2fc86f69e8e1..14605762e11840260f5562c436c822277d5d528d 100644
--- a/third_party/WebKit/Source/platform/WebMouseEvent.cpp
+++ b/third_party/WebKit/Source/platform/WebMouseEvent.cpp
@@ -13,9 +13,11 @@ WebMouseEvent::WebMouseEvent(WebInputEvent::Type type,
Button button_param,
int click_count_param,
int modifiers,
- double time_stamp_seconds)
+ double time_stamp_seconds,
+ PointerId id_param)
: WebInputEvent(sizeof(WebMouseEvent), type, modifiers, time_stamp_seconds),
- WebPointerProperties(button_param,
+ WebPointerProperties(id_param,
+ button_param,
WebPointerProperties::PointerType::kMouse),
click_count(click_count_param),
position_in_widget_(gesture_event.x, gesture_event.y),
« no previous file with comments | « third_party/WebKit/Source/core/events/PointerEventFactory.cpp ('k') | third_party/WebKit/public/platform/WebMouseEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698