Index: core/dom/Touch.idl |
diff --git a/core/dom/Touch.idl b/core/dom/Touch.idl |
index c748ec8e0ef12c585dd9738290a31d720d517fdf..574d68441d0d5d0e8bad8011acfbe964eca49529 100644 |
--- a/core/dom/Touch.idl |
+++ b/core/dom/Touch.idl |
@@ -23,17 +23,19 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-interface Touch { |
- readonly attribute long clientX; |
- readonly attribute long clientY; |
- readonly attribute long screenX; |
- readonly attribute long screenY; |
- readonly attribute long pageX; |
- readonly attribute long pageY; |
+[ |
+ WillBeGarbageCollected, |
+] interface Touch { |
+ readonly attribute double clientX; |
+ readonly attribute double clientY; |
+ readonly attribute double screenX; |
+ readonly attribute double screenY; |
+ readonly attribute double pageX; |
+ readonly attribute double pageY; |
readonly attribute EventTarget target; |
readonly attribute unsigned long identifier; |
- readonly attribute long webkitRadiusX; |
- readonly attribute long webkitRadiusY; |
- readonly attribute float webkitRotationAngle; |
- readonly attribute float webkitForce; |
+ [MeasureAs=PrefixedTouchRadiusX] readonly attribute double webkitRadiusX; |
+ [MeasureAs=PrefixedTouchRadiusY] readonly attribute double webkitRadiusY; |
+ [MeasureAs=PrefixedTouchRotationAngle] readonly attribute float webkitRotationAngle; |
+ [MeasureAs=PrefixedTouchForce] readonly attribute float webkitForce; |
}; |