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

Unified Diff: Source/core/dom/Touch.idl

Issue 750013004: Added experimental tilt and tiltDirection to the Touch interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Keep eventSender.setTouchPointTilt under "if" + added 4th argument (set_state_moved) Created 5 years, 9 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: Source/core/dom/Touch.idl
diff --git a/Source/core/dom/Touch.idl b/Source/core/dom/Touch.idl
index d7003b65ea7ebc2f22a2636836a56b98a5fd9089..1cfb1b9d3f081d216a55999a1ac16966353e3857 100644
--- a/Source/core/dom/Touch.idl
+++ b/Source/core/dom/Touch.idl
@@ -37,6 +37,8 @@
readonly attribute double radiusX;
readonly attribute double radiusY;
readonly attribute float force;
+ [RuntimeEnabled=TouchStylusDetails] readonly attribute unrestricted float tilt;
+ [RuntimeEnabled=TouchStylusDetails] readonly attribute unrestricted float tiltDirection;
[MeasureAs=PrefixedTouchRadiusX] readonly attribute double webkitRadiusX;
[MeasureAs=PrefixedTouchRadiusY] readonly attribute double webkitRadiusY;
[MeasureAs=PrefixedTouchRotationAngle] readonly attribute float webkitRotationAngle;

Powered by Google App Engine
This is Rietveld 408576698