Chromium Code Reviews| 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.mojom; | 5 module blink.mojom; |
|
dcheng
2016/04/27 00:09:29
Btw, let's make sure this file has noparent IPC OW
RaviKasibhatla
2016/04/27 14:33:49
Sorry, but I am not clear. content/common specifie
| |
| 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 |