summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/dom/Touch.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/dom/Touch.idl')
-rw-r--r--chromium/third_party/WebKit/Source/core/dom/Touch.idl24
1 files changed, 13 insertions, 11 deletions
diff --git a/chromium/third_party/WebKit/Source/core/dom/Touch.idl b/chromium/third_party/WebKit/Source/core/dom/Touch.idl
index c748ec8e0ef..574d68441d0 100644
--- a/chromium/third_party/WebKit/Source/core/dom/Touch.idl
+++ b/chromium/third_party/WebKit/Source/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;
};