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

Unified Diff: Source/modules/vr/VRPositionState.idl

Issue 848053002: Adding WebVR interface to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed feedback from philipj@opera.com, rebased Created 5 years, 10 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: Source/modules/vr/VRPositionState.idl
diff --git a/Source/modules/vr/VRPositionState.idl b/Source/modules/vr/VRPositionState.idl
new file mode 100644
index 0000000000000000000000000000000000000000..53b243eae7d73fb694f04c730336f90db0e4a24d
--- /dev/null
+++ b/Source/modules/vr/VRPositionState.idl
@@ -0,0 +1,16 @@
+// 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,
+] interface VRPositionState {
+ readonly attribute double timeStamp;
+ readonly attribute DOMPoint? position;
+ readonly attribute DOMPoint? linearVelocity;
+ readonly attribute DOMPoint? linearAcceleration;
+ readonly attribute DOMPoint? orientation;
+ readonly attribute DOMPoint? angularVelocity;
+ readonly attribute DOMPoint? angularAcceleration;
+};

Powered by Google App Engine
This is Rietveld 408576698