summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/build/scripts/templates/internal_runtime_flags.idl.tmpl
blob: 5006b34050a316c56238cec8d0d5a458f482cf85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% from "templates/macros.tmpl" import license, source_files_for_generated_file %}
{{ license() }}

{{source_files_for_generated_file(template_file, input_files)}}

interface InternalRuntimeFlags {
    {% for feature in standard_features %}
    {%+ if feature.condition %}[Conditional={{feature.condition}}] {% endif -%}
    {% if feature.settable_from_internals %}
    attribute boolean {{feature.tokenized_name.to_lower_camel_case()}}Enabled;
    {% else %}
    readonly attribute boolean {{feature.tokenized_name.to_lower_camel_case()}}Enabled;
    {% endif %}
    {% endfor %}
};