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

Unified Diff: modules/vr/PositionSensorVRDevice.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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
« no previous file with comments | « modules/vr/NavigatorVRDevice.idl ('k') | modules/vr/VRDevice.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/vr/PositionSensorVRDevice.idl
diff --git a/modules/vr/PositionSensorVRDevice.idl b/modules/vr/PositionSensorVRDevice.idl
new file mode 100644
index 0000000000000000000000000000000000000000..ecd70d3500379468a6a3770a4c60f52e66a310cb
--- /dev/null
+++ b/modules/vr/PositionSensorVRDevice.idl
@@ -0,0 +1,16 @@
+// Copyright 2015 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.
+
+// An PositionSensorVRDevice represents a user interface that provides an
+// orientation and position in space. This may be a Head Mounted Display or
+// any number of other six-degree-of-freedom devices that provide, for example,
+// hand tracking.
+// http://mozvr.github.io/webvr-spec/webvr.html#positionsensorvrdevice
+[
+ RuntimeEnabled=WebVR,
+] interface PositionSensorVRDevice : VRDevice {
+ VRPositionState getState();
+ VRPositionState getImmediateState();
+ void resetSensor();
+};
« no previous file with comments | « modules/vr/NavigatorVRDevice.idl ('k') | modules/vr/VRDevice.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698