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

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: Fixed compiler warning treated as an error on Windows Created 5 years, 9 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/core/timing/ConsoleMemory.idl b/Source/modules/vr/NavigatorVRDevice.idl
similarity index 60%
copy from Source/core/timing/ConsoleMemory.idl
copy to Source/modules/vr/NavigatorVRDevice.idl
index bdd31e20383d592a38ab1140ee9328a59fd7dbd2..ca149b05fec64adf8e6d4853b9b9e2653646ff05 100644
--- a/Source/core/timing/ConsoleMemory.idl
+++ b/Source/modules/vr/NavigatorVRDevice.idl
@@ -3,7 +3,7 @@
// found in the LICENSE file.
[
- ImplementedAs=ConsoleMemory,
-] partial interface Console {
- readonly attribute MemoryInfo memory;
+ RuntimeEnabled=VRDevice,
+] partial interface Navigator {
+ [CallWith=ScriptState] Promise getVRDevices();
};

Powered by Google App Engine
This is Rietveld 408576698