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

Unified Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2301463002: Added runtime flag for Gamepad Extensions (Closed)
Patch Set: Corrected ID in histograms.xml Created 4 years, 4 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: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index 80f5599061f8dbfe675d5115bb7609ef0a941360..b8a080d5f597737b8159fd8a3f69e81f55fd1dec 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -150,6 +150,11 @@ void WebRuntimeFeatures::enableFileSystem(bool enable)
RuntimeEnabledFeatures::setFileSystemEnabled(enable);
}
+void WebRuntimeFeatures::enableGamepadExtensions(bool enable)
+{
+ RuntimeEnabledFeatures::setGamepadExtensionsEnabled(enable);
+}
+
void WebRuntimeFeatures::enableInputMultipleFieldsUI(bool enable)
{
RuntimeEnabledFeatures::setInputMultipleFieldsUIEnabled(enable);

Powered by Google App Engine
This is Rietveld 408576698