| Index: third_party/WebKit/Source/build/scripts/templates/InternalRuntimeFlags.idl.tmpl
|
| diff --git a/third_party/WebKit/Source/build/scripts/templates/InternalRuntimeFlags.idl.tmpl b/third_party/WebKit/Source/build/scripts/templates/InternalRuntimeFlags.idl.tmpl
|
| index cfdd2c0d057bb5a66446f65b52a0ef0b1421cd29..50efe64f6d59c5a3a2992e9f9338a3c8d24637d0 100644
|
| --- a/third_party/WebKit/Source/build/scripts/templates/InternalRuntimeFlags.idl.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/InternalRuntimeFlags.idl.tmpl
|
| @@ -5,11 +5,14 @@
|
| GarbageCollected,
|
| ] interface InternalRuntimeFlags {
|
| {% for feature in standard_features %}
|
| -{#
|
| - Currently assuming that runtime flags cannot be changed after startup
|
| - it's possible that some can be and should be conditionally readonly.
|
| -#}
|
| {%+ if feature.condition %}[Conditional={{feature.condition}}] {% endif -%}
|
| - readonly attribute boolean {{feature.first_lowered_name}}Enabled;
|
| + boolean {{feature.first_lowered_name}}Enabled();
|
| + {% endfor %}
|
| +
|
| + {% for feature in standard_features %}
|
| + {% if feature.set_from_internals %}
|
| + {%+ if feature.condition %}[Conditional={{feature.condition}}] {% endif -%}
|
| + void set{{feature.name}}Enabled(boolean isEnabled);
|
| + {% endif %}
|
| {% endfor %}
|
| };
|
|
|