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/MemberCopy.h" |
12 #include "core/style/StyleDifference.h" | 13 #include "core/style/StyleDifference.h" |
13 #include "platform/wtf/SizeAssertions.h" | 14 #include "platform/wtf/SizeAssertions.h" |
14 #include "core/layout/LayoutTheme.h" | 15 #include "core/layout/LayoutTheme.h" |
15 {% for path in include_paths %} | 16 {% for path in include_paths %} |
16 #include "{{path}}" | 17 #include "{{path}}" |
17 {% endfor %} | 18 {% endfor %} |
18 | 19 |
19 {# Each field template has macros that we can call to generate specific | 20 {# Each field template has macros that we can call to generate specific |
20 aspects of the field (e.g. getters, setters). | 21 aspects of the field (e.g. getters, setters). |
21 #} | 22 #} |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 | 223 |
223 private: | 224 private: |
224 {% for field in computed_style.fields %} | 225 {% for field in computed_style.fields %} |
225 {{declare_storage(field)}} | 226 {{declare_storage(field)}} |
226 {% endfor %} | 227 {% endfor %} |
227 }; | 228 }; |
228 | 229 |
229 } // namespace blink | 230 } // namespace blink |
230 | 231 |
231 #endif // ComputedStyleBase_h | 232 #endif // ComputedStyleBase_h |
OLD | NEW |