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

Unified Diff: core/dom/Touch.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « core/dom/Text.idl ('k') | core/dom/TouchList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/dom/Touch.idl
diff --git a/core/dom/Touch.idl b/core/dom/Touch.idl
index d7003b65ea7ebc2f22a2636836a56b98a5fd9089..72bc53c014f2faed07bcb375e446193bee3f61cf 100644
--- a/core/dom/Touch.idl
+++ b/core/dom/Touch.idl
@@ -23,22 +23,30 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// http://rawgit.com/w3c/touch-events/v1-errata/touchevents.html#touch-interface
+
[
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 double radiusX;
- readonly attribute double radiusY;
- readonly attribute float force;
- [MeasureAs=PrefixedTouchRadiusX] readonly attribute double webkitRadiusX;
- [MeasureAs=PrefixedTouchRadiusY] readonly attribute double webkitRadiusY;
- [MeasureAs=PrefixedTouchRotationAngle] readonly attribute float webkitRotationAngle;
- [MeasureAs=PrefixedTouchForce] readonly attribute float webkitForce;
+ readonly attribute long identifier;
+ readonly attribute EventTarget target;
+ readonly attribute double screenX;
+ readonly attribute double screenY;
+ readonly attribute double clientX;
+ readonly attribute double clientY;
+ readonly attribute double pageX;
+ readonly attribute double pageY;
+
+ // Touch Events Extensions
+ // http://rawgit.com/w3c/touch-events/master/touchevents.html#touch-interface
+ readonly attribute float radiusX;
+ readonly attribute float radiusY;
+ readonly attribute float rotationAngle;
+ readonly attribute float force;
+
+ // Non-standard APIs
+ [DeprecateAs=PrefixedTouchRadiusX, ImplementedAs=radiusX] readonly attribute float webkitRadiusX;
+ [DeprecateAs=PrefixedTouchRadiusY, ImplementedAs=radiusY] readonly attribute float webkitRadiusY;
+ [DeprecateAs=PrefixedTouchRotationAngle, ImplementedAs=rotationAngle] readonly attribute float webkitRotationAngle;
+ [DeprecateAs=PrefixedTouchForce, ImplementedAs=force] readonly attribute float webkitForce;
};
« no previous file with comments | « core/dom/Text.idl ('k') | core/dom/TouchList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698