OLD | NEW |
1 {% from 'macros.tmpl' import license, print_if %} | 1 {% from 'macros.tmpl' import license, print_if %} |
2 {% from 'fields/field.tmpl' import encode, getter_expression, setter_expression,
declare_storage, fieldwise_compare, fieldwise_copy, fieldwise_diff, fieldwise_p
ointer_compare_inherited %} | 2 {% from 'fields/field.tmpl' import encode, getter_expression, setter_expression,
declare_storage, fieldwise_compare, fieldwise_copy, fieldwise_diff, fieldwise_p
ointer_compare_inherited %} |
3 {% from 'fields/group.tmpl' import define_field_group_class %} | 3 {% from 'fields/group.tmpl' import define_field_group_class %} |
4 {{license()}} | 4 {{license()}} |
5 | 5 |
6 #ifndef ComputedStyleBase_h | 6 #ifndef ComputedStyleBase_h |
7 #define ComputedStyleBase_h | 7 #define ComputedStyleBase_h |
8 | 8 |
9 #include "core/style/ComputedStyleConstants.h" | 9 #include "core/style/ComputedStyleConstants.h" |
10 #include "core/CoreExport.h" | 10 #include "core/CoreExport.h" |
11 #include "core/style/DataRef.h" | 11 #include "core/style/DataRef.h" |
12 #include "core/style/StyleDifference.h" | 12 #include "core/style/StyleDifference.h" |
13 #include "platform/wtf/SizeAssertions.h" | 13 #include "platform/wtf/SizeAssertions.h" |
| 14 #include "core/layout/LayoutTheme.h" |
14 {% for path in include_paths %} | 15 {% for path in include_paths %} |
15 #include "{{path}}" | 16 #include "{{path}}" |
16 {% endfor %} | 17 {% endfor %} |
17 | 18 |
18 {# Each field template has macros that we can call to generate specific | 19 {# Each field template has macros that we can call to generate specific |
19 aspects of the field (e.g. getters, setters). | 20 aspects of the field (e.g. getters, setters). |
20 #} | 21 #} |
21 {% import 'fields/keyword.tmpl' as keyword %} | 22 {% import 'fields/keyword.tmpl' as keyword %} |
22 {% import 'fields/primitive.tmpl' as primitive %} | 23 {% import 'fields/primitive.tmpl' as primitive %} |
23 {% import 'fields/monotonic_flag.tmpl' as monotonic_flag %} | 24 {% import 'fields/monotonic_flag.tmpl' as monotonic_flag %} |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 | 196 |
196 private: | 197 private: |
197 {% for field in computed_style.fields %} | 198 {% for field in computed_style.fields %} |
198 {{declare_storage(field)}} | 199 {{declare_storage(field)}} |
199 {% endfor %} | 200 {% endfor %} |
200 }; | 201 }; |
201 | 202 |
202 } // namespace blink | 203 } // namespace blink |
203 | 204 |
204 #endif // ComputedStyleBase_h | 205 #endif // ComputedStyleBase_h |
OLD | NEW |