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

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

Issue 298133003: Expose fractional TouchEvent coordinates (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make layout test output stable across platforms Created 6 years, 6 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.cpp ('k') | Source/core/inspector/InspectorDOMAgent.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 7ff3d973b244f908360799162d41a9ef503acf84..574d68441d0d5d0e8bad8011acfbe964eca49529 100644
--- a/Source/core/dom/Touch.idl
+++ b/Source/core/dom/Touch.idl
@@ -26,16 +26,16 @@
[
WillBeGarbageCollected,
] 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;
+ 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;
- [MeasureAs=PrefixedTouchRadiusX] readonly attribute long webkitRadiusX;
- [MeasureAs=PrefixedTouchRadiusY] readonly attribute long webkitRadiusY;
+ [MeasureAs=PrefixedTouchRadiusX] readonly attribute double webkitRadiusX;
+ [MeasureAs=PrefixedTouchRadiusY] readonly attribute double webkitRadiusY;
[MeasureAs=PrefixedTouchRotationAngle] readonly attribute float webkitRotationAngle;
[MeasureAs=PrefixedTouchForce] readonly attribute float webkitForce;
};
« no previous file with comments | « Source/core/dom/Touch.cpp ('k') | Source/core/inspector/InspectorDOMAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698