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

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: Make Touch.tilt available behind the enable-experimental-web-platform-features flag Created 5 years, 10 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..3aeb735d813fe91a682618884496dea4ff7a9627 100644
--- a/Source/core/dom/Touch.idl
+++ b/Source/core/dom/Touch.idl
@@ -37,6 +37,7 @@
readonly attribute double radiusX;
readonly attribute double radiusY;
readonly attribute float force;
+ [RuntimeEnabled=TouchStylusDetails] readonly attribute float tilt;
[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