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

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

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/Source/platform/WebMouseEvent.cpp
diff --git a/third_party/WebKit/Source/platform/WebMouseEvent.cpp b/third_party/WebKit/Source/platform/WebMouseEvent.cpp
index 310c6bc3c3621ad8c8b98b4a19fd2fc86f69e8e1..b4634aaf5c50920222afb5d8f071e81cd21f3a80 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,
+ int 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),

Powered by Google App Engine
This is Rietveld 408576698