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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/platform/modules/vr/vr_service.mojom
diff --git a/content/common/vr_service.mojom b/third_party/WebKit/public/platform/modules/vr/vr_service.mojom
similarity index 98%
rename from content/common/vr_service.mojom
rename to third_party/WebKit/public/platform/modules/vr/vr_service.mojom
index 5e90880a5192f5e59aa268baa5091399ff66a3f7..849c34fcd4b3da950a043b4c82956e95330d8f92 100644
--- a/content/common/vr_service.mojom
+++ b/third_party/WebKit/public/platform/modules/vr/vr_service.mojom
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module content.mojom;
+module blink.mojom;
struct VRVector3 {
float x;
@@ -68,6 +68,7 @@ struct VRDeviceInfo {
interface VRService {
GetDevices() => (array<VRDeviceInfo> devices);
+ [Sync]
GetSensorState(uint32 index) => (VRSensorState state);
ResetSensor(uint32 index);
};
« 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