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

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

Issue 848053002: Adding WebVR interface to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 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
Index: Source/modules/vr/PositionSensorVRDevice.idl
diff --git a/Source/core/dom/Iterator.idl b/Source/modules/vr/PositionSensorVRDevice.idl
similarity index 54%
copy from Source/core/dom/Iterator.idl
copy to Source/modules/vr/PositionSensorVRDevice.idl
index 87027c5bdac9d26ac0404df9ed40c057f021eb1b..dcaf82dbcf5165af3bfc173b2a498fb437a15c7b 100644
--- a/Source/core/dom/Iterator.idl
+++ b/Source/modules/vr/PositionSensorVRDevice.idl
@@ -3,9 +3,9 @@
// found in the LICENSE file.
[
- Iterable,
+ RuntimeEnabled=VRDevice,
GarbageCollected,
- NoInterfaceObject,
-] interface Iterator {
- [CallWith=ScriptState, RaisesException] any next(optional any value);
+] interface PositionSensorVRDevice : VRDevice {
+ VRPositionState getState(optional double timeOffset);
+ void zeroSensor();
philipj_slow 2015/02/06 01:57:14 zero is an odd verb, and apparently you agree sinc
philipj_slow 2015/02/23 02:33:10 resetSensor() it is.
};

Powered by Google App Engine
This is Rietveld 408576698