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

Unified Diff: third_party/WebKit/Source/modules/vr/VRPositionState.idl

Issue 1709003002: Geometry: Reimplement DOMPoint using V8 extras. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
Index: third_party/WebKit/Source/modules/vr/VRPositionState.idl
diff --git a/third_party/WebKit/Source/modules/vr/VRPositionState.idl b/third_party/WebKit/Source/modules/vr/VRPositionState.idl
index 4a22a02984d679bb7e67fb2fb8b0a61e6b41116a..5a8e1d3cb099884279746e238ce08be95fdd01c8 100644
--- a/third_party/WebKit/Source/modules/vr/VRPositionState.idl
+++ b/third_party/WebKit/Source/modules/vr/VRPositionState.idl
@@ -8,10 +8,14 @@
GarbageCollected,
] interface VRPositionState {
readonly attribute double timeStamp;
- readonly attribute DOMPoint? position;
- readonly attribute DOMPoint? linearVelocity;
- readonly attribute DOMPoint? linearAcceleration;
- readonly attribute DOMPoint? orientation;
- readonly attribute DOMPoint? angularVelocity;
- readonly attribute DOMPoint? angularAcceleration;
+
+ // The spec says that the following values should be DOMPoint? but for now
+ // we use 'any' instead since it is implemented with V8 extras.
+ // Please see: http://crbug.com/588630
+ readonly attribute any position;
+ readonly attribute any linearVelocity;
+ readonly attribute any linearAcceleration;
+ readonly attribute any orientation;
+ readonly attribute any angularVelocity;
+ readonly attribute any angularAcceleration;
};

Powered by Google App Engine
This is Rietveld 408576698