Index: Source/modules/vr/VRPositionState.idl |
diff --git a/Source/modules/vr/VRPositionState.idl b/Source/modules/vr/VRPositionState.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b77e9dbd34463d4e36b2db694c0cd2b59581254b |
--- /dev/null |
+++ b/Source/modules/vr/VRPositionState.idl |
@@ -0,0 +1,16 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+[ |
+ RuntimeEnabled=VRDevice, |
+ 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; |
+}; |