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

Unified Diff: Source/web/WebRuntimeFeatures.cpp

Issue 890723004: Allow setting runtime-enabled features from a string. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebRuntimeFeatures.cpp
diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp
index a41b8562357c247391562e7719e0010c5d7bb74e..0cb7f0d7626df076a41a9c26d7e8ba6fa5d85cd5 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -41,6 +41,11 @@ void WebRuntimeFeatures::enableExperimentalFeatures(bool enable)
RuntimeEnabledFeatures::setExperimentalFeaturesEnabled(enable);
}
+void WebRuntimeFeatures::enableFeatureFromString(const WebString& name, bool enable)
+{
+ RuntimeEnabledFeatures::setFeatureEnabledFromString(name, enable);
+}
+
void WebRuntimeFeatures::enableBleedingEdgeFastPaths(bool enable)
{
ASSERT(enable);
« no previous file with comments | « Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698