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

Unified Diff: ui/events/events_stub.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/events_stub.cc
diff --git a/ui/events/events_stub.cc b/ui/events/events_stub.cc
index 46724671d7b55a4901c915f6358983d4d1c6ee1b..a160d4e0f1b4af23f4e02ca5e3e085f1261aba80 100644
--- a/ui/events/events_stub.cc
+++ b/ui/events/events_stub.cc
@@ -56,7 +56,8 @@ int GetChangedMouseButtonFlagsFromNative(
PointerDetails GetMousePointerDetailsFromNative(
const base::NativeEvent& native_event) {
- return PointerDetails(EventPointerType::POINTER_TYPE_MOUSE);
+ return PointerDetails(EventPointerType::POINTER_TYPE_MOUSE,
+ PointerEvent::kMousePointerId);
}
gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) {

Powered by Google App Engine
This is Rietveld 408576698