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

Unified Diff: ui/events/x/events_x.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
« ui/events/event.h ('K') | « ui/events/win/events_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/x/events_x.cc
diff --git a/ui/events/x/events_x.cc b/ui/events/x/events_x.cc
index 78152b45ded95a7915379a63c791d4020df26898..4f9652ec29bb841cdf0eaf8869d411a152f84da8 100644
--- a/ui/events/x/events_x.cc
+++ b/ui/events/x/events_x.cc
@@ -164,7 +164,9 @@ PointerDetails GetTouchPointerDetailsFromNative(
GetTouchRadiusYFromXEvent(*native_event),
GetTouchForceFromXEvent(*native_event),
/* tilt_x */ 0.f,
- /* tilt_y */ 0.f);
+ /* tilt_y */ 0.f,
+ /* tangentialPressure */ 0.0f,
+ /* twist */ 0);
}
bool GetScrollOffsets(const base::NativeEvent& native_event,
« ui/events/event.h ('K') | « ui/events/win/events_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698