Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(704)

Side by Side Diff: third_party/WebKit/public/platform/modules/vr/vr_service.mojom

Issue 1808203005: [OnionSoup] Moving VR service from content to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT! Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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;
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 }; 61 };
62 62
63 struct VRDeviceInfo { 63 struct VRDeviceInfo {
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 [Sync]
71 GetSensorState(uint32 index) => (VRSensorState state); 72 GetSensorState(uint32 index) => (VRSensorState state);
72 ResetSensor(uint32 index); 73 ResetSensor(uint32 index);
73 }; 74 };
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/vr/WebVRClient.h ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698