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 #ifndef StyleBuilderFunctions_h | 4 #ifndef StyleBuilderFunctions_h |
5 #define StyleBuilderFunctions_h | 5 #define StyleBuilderFunctions_h |
6 | 6 |
7 #include "core/css/resolver/StyleBuilderConverter.h" | 7 #include "core/css/resolver/StyleBuilderConverter.h" |
8 | 8 |
9 namespace WebCore { | 9 namespace WebCore { |
10 | 10 |
11 class CSSValue; | 11 class CSSValue; |
12 class StyleResolverState; | 12 class StyleResolverState; |
13 | 13 |
14 class StyleBuilderFunctions { | 14 class StyleBuilderFunctions { |
15 public: | 15 public: |
16 | 16 |
17 {%- for property_id, property in properties.items() if not property.use_handlers
_for %} | 17 {% for property_id, property in properties.items() |
18 {% call wrap_with_condition(property.condition) %} | 18 if not property.use_handlers_for %} |
| 19 {% call wrap_with_condition(property.condition) %} |
19 static void applyInitial{{property_id}}(StyleResolverState&); | 20 static void applyInitial{{property_id}}(StyleResolverState&); |
20 static void applyInherit{{property_id}}(StyleResolverState&); | 21 static void applyInherit{{property_id}}(StyleResolverState&); |
21 static void applyValue{{property_id}}(StyleResolverState&, CSSValue*); | 22 static void applyValue{{property_id}}(StyleResolverState&, CSSValue*); |
22 {%- endcall %} | 23 {% endcall %} |
23 {%- endfor %} | |
24 | 24 |
| 25 {% endfor %} |
25 }; | 26 }; |
26 | 27 |
27 } // namespace WebCore | 28 } // namespace WebCore |
28 | 29 |
29 #endif | 30 #endif |
OLD | NEW |