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

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

Issue 1701283002: Implement DOMPoint using v8 extras. 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
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRPositionState.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f3a61adc0146124f669a0e410e09dcb04be03559 100644
--- a/third_party/WebKit/Source/modules/vr/VRPositionState.idl
+++ b/third_party/WebKit/Source/modules/vr/VRPositionState.idl
@@ -8,10 +8,10 @@
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;
+ [CallWith=ScriptState] readonly attribute any position;
+ [CallWith=ScriptState] readonly attribute any linearVelocity;
+ [CallWith=ScriptState] readonly attribute any linearAcceleration;
+ [CallWith=ScriptState] readonly attribute any orientation;
+ [CallWith=ScriptState] readonly attribute any angularVelocity;
+ [CallWith=ScriptState] readonly attribute any angularAcceleration;
};
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRPositionState.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698