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

Unified Diff: ui/events/blink/web_input_event.cc

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
« no previous file with comments | « third_party/WebKit/public/platform/WebTouchPoint.h ('k') | ui/events/blink/web_input_event_builders_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/web_input_event.cc
diff --git a/ui/events/blink/web_input_event.cc b/ui/events/blink/web_input_event.cc
index a360b3c65561bfcafe83bcc63408ec8206dc400b..abb030b7ff2758f0bb89d1f34a394648dbac0d85 100644
--- a/ui/events/blink/web_input_event.cc
+++ b/ui/events/blink/web_input_event.cc
@@ -418,7 +418,7 @@ blink::WebMouseEvent MakeWebMouseEventFromUiEvent(const MouseEvent& event) {
blink::WebMouseEvent webkit_event(
type, EventFlagsToWebEventModifiers(event.flags()),
- EventTimeStampToSeconds(event.time_stamp()));
+ EventTimeStampToSeconds(event.time_stamp()), event.pointer_details().id);
webkit_event.button = blink::WebMouseEvent::Button::kNoButton;
int button_flags = event.flags();
if (event.type() == ET_MOUSE_PRESSED || event.type() == ET_MOUSE_RELEASED) {
« no previous file with comments | « third_party/WebKit/public/platform/WebTouchPoint.h ('k') | ui/events/blink/web_input_event_builders_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698