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

Unified Diff: Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl

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.cpp.tmpl ('k') | Source/web/WebRuntimeFeatures.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl
diff --git a/Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl b/Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl
index da339642eac49b737bf92303e8b8b9c10c44bb02..c3afacbb9328c2e8ba2eff9b66fb34997e139073 100644
--- a/Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl
+++ b/Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl
@@ -5,6 +5,7 @@
#define RuntimeEnabledFeatures_h
#include "platform/PlatformExport.h"
+#include "wtf/Forward.h"
namespace blink {
@@ -16,6 +17,7 @@ public:
static void set{{feature_set|capitalize}}FeaturesEnabled(bool);
{% endfor %}
+ static void setFeatureEnabledFromString(const WTF::String& name, bool isEnabled);
{% for feature in features %}
{% if feature.custom %}
« no previous file with comments | « Source/build/scripts/templates/RuntimeEnabledFeatures.cpp.tmpl ('k') | Source/web/WebRuntimeFeatures.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698