| 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..45af5ca3ed0ec98a712db2c1c546cc178d43d58f
|
| --- /dev/null
|
| +++ b/Source/modules/vr/VRPositionState.idl
|
| @@ -0,0 +1,17 @@
|
| +// 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.
|
| +
|
| +// http://mozvr.github.io/webvr-spec/webvr.html#vrpositionstate
|
| +[
|
| + 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;
|
| +};
|
|
|