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

Unified Diff: ui/events/win/events_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/win/events_win.cc
diff --git a/ui/events/win/events_win.cc b/ui/events/win/events_win.cc
index f39e3510fc6d9541e01d25162d41885b6b1f308b..bfb1f9790543d32938ffd8ffc0e31bc11da353eb 100644
--- a/ui/events/win/events_win.cc
+++ b/ui/events/win/events_win.cc
@@ -301,7 +301,8 @@ PointerDetails GetMousePointerDetailsFromNative(
if ((GetMessageExtraInfo() & SIGNATURE_MASK) != MOUSEEVENTF_FROMTOUCHPEN)
return PointerDetails(EventPointerType::POINTER_TYPE_MOUSE);
- return PointerDetails(EventPointerType::POINTER_TYPE_PEN);
+ return PointerDetails(EventPointerType::POINTER_TYPE_PEN,
+ PointerEvent::kMousePointerId);
}
gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) {

Powered by Google App Engine
This is Rietveld 408576698