OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 module content; | 5 module mojom; |
Yuki
2016/03/22 07:15:03
I'd feel that "mojom" doesn't make much sense. Th
RaviKasibhatla
2016/03/23 15:20:51
I am happy to put any module name. :)
Currently, f
| |
6 | 6 |
7 struct VRVector3 { | 7 struct VRVector3 { |
8 float x; | 8 float x; |
9 float y; | 9 float y; |
10 float z; | 10 float z; |
11 }; | 11 }; |
12 | 12 |
13 struct VRVector4 { | 13 struct VRVector4 { |
14 float x; | 14 float x; |
15 float y; | 15 float y; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
64 uint32 index; | 64 uint32 index; |
65 string deviceName; | 65 string deviceName; |
66 VRHMDInfo? hmdInfo; | 66 VRHMDInfo? hmdInfo; |
67 }; | 67 }; |
68 | 68 |
69 interface VRService { | 69 interface VRService { |
70 GetDevices() => (array<VRDeviceInfo> devices); | 70 GetDevices() => (array<VRDeviceInfo> devices); |
71 GetSensorState(uint32 index) => (VRSensorState state); | 71 GetSensorState(uint32 index) => (VRSensorState state); |
72 ResetSensor(uint32 index); | 72 ResetSensor(uint32 index); |
73 }; | 73 }; |
OLD | NEW |