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

Unified Diff: ui/events/event.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/event.cc
diff --git a/ui/events/event.cc b/ui/events/event.cc
index a5fe95a95480c1ae868c46e649d815ef04041623..95481be9656386702a3676c173339b8523ea84dc 100644
--- a/ui/events/event.cc
+++ b/ui/events/event.cc
@@ -855,7 +855,9 @@ TouchEvent::TouchEvent(EventType type,
radius_y,
force,
/* tilt_x */ 0.0f,
- /* tilt_y */ 0.0f)) {
+ /* tilt_y */ 0.0f,
+ /* tangentialPressure */ 0.0f,
+ /* twist */ 0)) {
latency()->AddLatencyNumber(INPUT_EVENT_LATENCY_UI_COMPONENT, 0, 0);
FixRotationAngle();
}
« ui/events/event.h ('K') | « ui/events/event.h ('k') | ui/events/event_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698