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

Unified Diff: Source/web/WebRuntimeFeatures.cpp

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/web/WebRuntimeFeatures.cpp
diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp
index 29dd58d14136dfde76037d4193a7c34100b3d72f..4b3ca5b144662907146efac221114221ac418470 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -328,4 +328,9 @@ void WebRuntimeFeatures::enableUnsafeES3APIs(bool enable)
RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable);
}
+void WebRuntimeFeatures::enableVRDevice(bool enable)
+{
+ RuntimeEnabledFeatures::setVRDeviceEnabled(enable);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698