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..2dc06a39a5ba73e12941ccac42698e7159cbe5f7 |
| --- /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(), |
|
philipj_slow
2015/02/06 01:57:14
Maybe have this constructor take a dictionary for
|
| +] interface VRFieldOfView { |
| + attribute double upDegrees; |
| + attribute double downDegrees; |
| + attribute double leftDegrees; |
| + attribute double rightDegrees; |
| +}; |
| + |