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

Side by Side 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, 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 [ 5 [
6 Iterable, 6 RuntimeEnabled=VRDevice,
7 GarbageCollected, 7 GarbageCollected,
8 NoInterfaceObject, 8 ] interface PositionSensorVRDevice : VRDevice {
9 ] interface Iterator { 9 VRPositionState getState(optional double timeOffset);
10 [CallWith=ScriptState, RaisesException] any next(optional any value); 10 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.
11 }; 11 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698