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

Side by Side Diff: Source/build/scripts/templates/MediaFeatures.h.tmpl

Issue 185533012: Auto generate MediaFeatureNames, its macros and MediaTypeNames (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 {% from "macros.tmpl" import license -%}
2 {{ license() }}
3
4 #ifndef MediaFeatures_h
5 #define MediaFeatures_h
6
7 #define CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(macro) \
8 {%- for entry in entries %}
9 macro({{entry|symbol}}) {%- if not loop.last %}\{%-endif %}
10 {%- endfor %}
11
12 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698