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

Unified Diff: Source/modules/vr/NavigatorVRDevice.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/NavigatorVRDevice.idl
diff --git a/Source/modules/battery/NavigatorBattery.idl b/Source/modules/vr/NavigatorVRDevice.idl
similarity index 70%
copy from Source/modules/battery/NavigatorBattery.idl
copy to Source/modules/vr/NavigatorVRDevice.idl
index c5bff09da1473e835b8de2b1f59997117385b2c6..091ec14b8264c811b65f4a65e78d800d9ca07f4f 100644
--- a/Source/modules/battery/NavigatorBattery.idl
+++ b/Source/modules/vr/NavigatorVRDevice.idl
@@ -3,8 +3,7 @@
// found in the LICENSE file.
[
- RuntimeEnabled=BatteryStatus,
+ RuntimeEnabled=VRDevice,
] partial interface Navigator {
- [CallWith=ScriptState] Promise getBattery();
+ [CallWith=ScriptState] Promise getVRDevices();
};
-

Powered by Google App Engine
This is Rietveld 408576698