Chromium Code Reviews| Index: Source/modules/vr/VRFieldOfView.idl |
| diff --git a/Source/modules/vr/VRFieldOfView.idl b/Source/modules/vr/VRFieldOfView.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b79d70d9661f9fcd2e96f6d34bc6f21b9b3dc5dd |
| --- /dev/null |
| +++ b/Source/modules/vr/VRFieldOfView.idl |
| @@ -0,0 +1,15 @@ |
| +// Copyright 2014 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, |
| + Constructor(optional VRFieldOfViewInit fov), |
|
philipj_slow
2015/02/23 02:33:10
Now you may need TypeChecking=Interface so that nu
|
| +] interface VRFieldOfView { |
| + attribute double upDegrees; |
| + attribute double downDegrees; |
| + attribute double leftDegrees; |
| + attribute double rightDegrees; |
| +}; |
| + |