summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/build/scripts/templates/InternalRuntimeFlags.idl.tmpl
blob: cfdd2c0d057bb5a66446f65b52a0ef0b1421cd29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% from "macros.tmpl" import license %}
{{ license() }}

[
    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;
    {% endfor %}
};