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

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: 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/web/WebRuntimeFeatures.cpp
diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp
index a41b8562357c247391562e7719e0010c5d7bb74e..7341be2d6c93e959afda4d8d455aa715f2bf71d0 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -313,4 +313,9 @@ void WebRuntimeFeatures::enablePushMessagingData(bool enable)
RuntimeEnabledFeatures::setPushMessagingDataEnabled(enable);
}
+void WebRuntimeFeatures::enableVRDevice(bool enable)
+{
+ RuntimeEnabledFeatures::setVRDeviceEnabled(enable);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698