Chromium Code Reviews

Side by Side Diff: Source/core/scripts/templates/StyleBuilderFunctions.h

Issue 22546004: Remove .tmpl extension from Jinja templates in core Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 {% from "macros.tmpl" import wrap_with_condition, license -%} 1 {% from "macros.tmpl" import wrap_with_condition, license -%}
2 {{ license() }} 2 {{ license() }}
3 3
4 namespace WebCore { 4 namespace WebCore {
5 5
6 class CSSValue; 6 class CSSValue;
7 class StyleResolverState; 7 class StyleResolverState;
8 8
9 class StyleBuilderFunctions { 9 class StyleBuilderFunctions {
10 public: 10 public:
11 11
12 {%- for property_id, property in properties.items() if not property.use_handlers _for %} 12 {%- for property_id, property in properties.items() if not property.use_handlers _for %}
13 {% call wrap_with_condition(property.condition) %} 13 {% call wrap_with_condition(property.condition) %}
14 static void applyInitial{{property_id}}(StyleResolverState&); 14 static void applyInitial{{property_id}}(StyleResolverState&);
15 static void applyInherit{{property_id}}(StyleResolverState&); 15 static void applyInherit{{property_id}}(StyleResolverState&);
16 static void applyValue{{property_id}}(StyleResolverState&, CSSValue*); 16 static void applyValue{{property_id}}(StyleResolverState&, CSSValue*);
17 {%- endcall %} 17 {%- endcall %}
18 {%- endfor %} 18 {%- endfor %}
19 19
20 }; 20 };
21 21
22 } // namespace WebCore 22 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/scripts/templates/StyleBuilder.cpp.tmpl ('k') | Source/core/scripts/templates/StyleBuilderFunctions.cpp » ('j') | no next file with comments »

Powered by Google App Engine