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

Unified Diff: ui/events/cocoa/events_mac.mm

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/cocoa/events_mac.mm
diff --git a/ui/events/cocoa/events_mac.mm b/ui/events/cocoa/events_mac.mm
index 29b7fc9601d5275b81fffed7312710c1eba98f16..55c948a91e91a98d0bef347c86f8acad8ee9d297 100644
--- a/ui/events/cocoa/events_mac.mm
+++ b/ui/events/cocoa/events_mac.mm
@@ -193,7 +193,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