OLD | NEW |
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 |
OLD | NEW |