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

Unified Diff: third_party/WebKit/public/web/WebRuntimeFeatures.h

Issue 2543723002: Add switch to disable WebVR gesture requirement
Patch Set: Fixed DisabledEnabled naming Created 4 years 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: third_party/WebKit/public/web/WebRuntimeFeatures.h
diff --git a/third_party/WebKit/public/web/WebRuntimeFeatures.h b/third_party/WebKit/public/web/WebRuntimeFeatures.h
index 0eb3e5b336086bc922016546608f62ecc2aa6743..6ef71a95d73fa95037c95f2cb476ca911814825b 100644
--- a/third_party/WebKit/public/web/WebRuntimeFeatures.h
+++ b/third_party/WebKit/public/web/WebRuntimeFeatures.h
@@ -128,6 +128,7 @@ class WebRuntimeFeatures {
BLINK_EXPORT static void enableWebGLImageChromium(bool);
BLINK_EXPORT static void enableWebUsb(bool);
BLINK_EXPORT static void enableWebVR(bool);
+ BLINK_EXPORT static void disableWebVrGestures(bool);
ddorwin 2016/11/30 23:33:34 Similarly, "disable" with a bool is odd and the re
haraken 2016/11/30 23:41:28 Yeah, everything else is "enable". So let's use "e
bsheedy 2016/11/30 23:59:12 Done.
BLINK_EXPORT static void enableXSLT(bool);
BLINK_EXPORT static void forceOverlayFullscreenVideo(bool);
BLINK_EXPORT static void enableAutoplayMutedVideos(bool);

Powered by Google App Engine
This is Rietveld 408576698