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

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: Addressed feedback from philipj@opera.com, rebased 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 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 907777335874e598564058143b7f0d47fee6617e..a78e28ad2dde153391507ca97543f241befaf5c0 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -343,4 +343,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