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

Unified Diff: ui/events/win/events_win.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/win/events_win.cc
diff --git a/ui/events/win/events_win.cc b/ui/events/win/events_win.cc
index 89a1cfd8f4ff1190e41b16c3ba2e1c2330cf6a34..b66b1bf7a1ee7a86966372cba98169250fe61d87 100644
--- a/ui/events/win/events_win.cc
+++ b/ui/events/win/events_win.cc
@@ -345,7 +345,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