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

Unified Diff: ui/events/events_stub.cc

Issue 2647253002: Add tangentialPressure and twist properties to PointerEvent on Windows (Closed)
Patch Set: rotation Created 3 years, 11 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 7ca30e032e03958a59c15fdd3edecdeed2418c9a..d0c95d9fdc3b8dcc953045dc0e3cfc646a4afd2f 100644
--- a/ui/events/events_stub.cc
+++ b/ui/events/events_stub.cc
@@ -100,7 +100,9 @@ PointerDetails GetTouchPointerDetailsFromNative(
/* radius_y */ 1.0,
/* force */ 0.f,
/* tilt_x */ 0.f,
- /* tilt_y */ 0.f);
+ /* tilt_y */ 0.f,
+ /* tangentialPressure */ 0.0f,
+ /* twist */ 0);
}
bool GetScrollOffsets(const base::NativeEvent& native_event,

Powered by Google App Engine
This is Rietveld 408576698