OLD | NEW |
1 {% from 'macros.tmpl' import license %} | 1 {% from 'macros.tmpl' import 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 blink { |
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() | 17 {% for property_id, property in properties.items() |
18 if property.should_declare_functions %} | 18 if property.should_declare_functions %} |
19 static void applyInitial{{property_id}}(StyleResolverState&); | 19 static void applyInitial{{property_id}}(StyleResolverState&); |
20 static void applyInherit{{property_id}}(StyleResolverState&); | 20 static void applyInherit{{property_id}}(StyleResolverState&); |
21 static void applyValue{{property_id}}(StyleResolverState&, CSSValue*); | 21 static void applyValue{{property_id}}(StyleResolverState&, CSSValue*); |
22 | 22 |
23 {% endfor %} | 23 {% endfor %} |
24 }; | 24 }; |
25 | 25 |
26 } // namespace WebCore | 26 } // namespace blink |
27 | 27 |
28 #endif | 28 #endif |
OLD | NEW |