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

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

Issue 1149563003: Make Touch.radiusX/Y float and make Touch.webkit* aliases in the IDL (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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
« no previous file with comments | « Source/core/dom/Touch.h ('k') | Source/web/WebInputEventConversion.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Touch.idl
diff --git a/Source/core/dom/Touch.idl b/Source/core/dom/Touch.idl
index dd4f87078eda045050726358ec1970c9ffe9c2df..4966a1ac7511cec330a1557f8e0d1a82fab00f7b 100644
--- a/Source/core/dom/Touch.idl
+++ b/Source/core/dom/Touch.idl
@@ -40,14 +40,14 @@
// Touch Events Extensions
// http://rawgit.com/w3c/touch-events/master/touchevents.html#touch-interface
- // FIXME: radiusX and radiusY should be float, not double.
- readonly attribute double radiusX;
- readonly attribute double radiusY;
+ readonly attribute float radiusX;
+ readonly attribute float radiusY;
+ // readonly attribute float rotationAngle;
Rick Byers 2015/05/20 15:33:41 FYI I think we can unprefixing this too and deprec
philipj_slow 2015/05/20 18:08:37 That looks very quick to do indeed, and I'd be ver
readonly attribute float force;
// Non-standard APIs
- [MeasureAs=PrefixedTouchRadiusX] readonly attribute double webkitRadiusX;
- [MeasureAs=PrefixedTouchRadiusY] readonly attribute double webkitRadiusY;
- [MeasureAs=PrefixedTouchRotationAngle] readonly attribute float webkitRotationAngle;
- [MeasureAs=PrefixedTouchForce] readonly attribute float webkitForce;
+ [MeasureAs=PrefixedTouchRadiusX, ImplementedAs=radiusX] readonly attribute float webkitRadiusX;
+ [MeasureAs=PrefixedTouchRadiusY, ImplementedAs=radiusY] readonly attribute float webkitRadiusY;
+ [MeasureAs=PrefixedTouchRotationAngle, ImplementedAs=rotationAngle] readonly attribute float webkitRotationAngle;
+ [MeasureAs=PrefixedTouchForce, ImplementedAs=force] readonly attribute float webkitForce;
};
« no previous file with comments | « Source/core/dom/Touch.h ('k') | Source/web/WebInputEventConversion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698