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

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

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: More fixes - things build fine at this point. Created 3 years, 8 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
1 {% from "macros.tmpl" import license %} 1 {% from "macros.tmpl" import license %}
2 {{ license() }} 2 {{ license() }}
3 3
4 #ifndef MediaFeatures_h 4 #ifndef MediaFeatures_h
5 #define MediaFeatures_h 5 #define MediaFeatures_h
6 6
7 #define CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(macro) \ 7 #define CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(macro) \
8 {% for entry in entries %} 8 {% for entry in entries %}
9 macro({{entry|symbol}}){% if not loop.last %} \ 9 {% set constant_prefix = entry | symbol %}
10 {% set method_prefix = constant_prefix | upper_first_letter %}
11 macro({{constant_prefix}}, {{method_prefix}}){% if not loop.last %} \
10 {% endif %} 12 {% endif %}
11 {% endfor %} 13 {% endfor %}
12 14
13 #endif 15 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698