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

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

Issue 2655303004: Add id properties to PointerEvent (Closed)
Patch Set: pointer id Created 3 years, 10 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: ui/events/blink/web_input_event_builders_win.cc
diff --git a/ui/events/blink/web_input_event_builders_win.cc b/ui/events/blink/web_input_event_builders_win.cc
index fbeb14cf3c15670455019c6da0dd8984af0da891..d3a2651fe9a7fcbcc5e4d541a4b32a3883a03679 100644
--- a/ui/events/blink/web_input_event_builders_win.cc
+++ b/ui/events/blink/web_input_event_builders_win.cc
@@ -167,9 +167,9 @@ WebMouseEvent WebMouseEventBuilder::Build(
WebMouseEvent result(type, modifiers, time_stamp);
result.pointerType = pointer_type;
result.button = button;
+ result.id = ui::PointerEvent::kMousePointerId;
mustaq 2017/02/27 16:02:26 Are we sure that stylus events are not going throu
// set position fields:
-
result.x = static_cast<short>(LOWORD(lparam));
result.y = static_cast<short>(HIWORD(lparam));
result.windowX = result.x;

Powered by Google App Engine
This is Rietveld 408576698