chromium/third_party/blink/renderer/build/scripts/core/css/templates/media_features.h.tmpl

{% from "templates/macros.tmpl" import license, source_files_for_generated_file %}
{{license()}}

{{source_files_for_generated_file(template_file, input_files)}}

#ifndef {{header_guard}}
#define {{header_guard}}

#define CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(macro) \
    {% for entry in entries %}
    {% set constant_prefix = entry | symbol %}
    {% set method_prefix = constant_prefix | to_function_name %}
    macro(media_feature_names::{{constant_prefix}}, {{method_prefix}}){% if not loop.last %} \
    {% endif %}
    {% endfor %}

#endif  // {{header_guard}}