| 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 declare_field_group_class %} | 3 {% from 'fields/group.tmpl' import declare_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/MemberCopy.h" |
| 13 #include "core/style/DataPersistent.h" |
| 13 #include "core/style/StyleDifference.h" | 14 #include "core/style/StyleDifference.h" |
| 14 #include "platform/wtf/SizeAssertions.h" | 15 #include "platform/wtf/SizeAssertions.h" |
| 15 #include "core/layout/LayoutTheme.h" | 16 #include "core/layout/LayoutTheme.h" |
| 16 {% for path in include_paths %} | 17 {% for path in include_paths %} |
| 17 #include "{{path}}" | 18 #include "{{path}}" |
| 18 {% endfor %} | 19 {% endfor %} |
| 19 | 20 |
| 20 {# Each field template has macros that we can call to generate specific | 21 {# Each field template has macros that we can call to generate specific |
| 21 aspects of the field (e.g. getters, setters). | 22 aspects of the field (e.g. getters, setters). |
| 22 #} | 23 #} |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 | 181 |
| 181 private: | 182 private: |
| 182 {% for field in computed_style.fields %} | 183 {% for field in computed_style.fields %} |
| 183 {{declare_storage(field)}} | 184 {{declare_storage(field)}} |
| 184 {% endfor %} | 185 {% endfor %} |
| 185 }; | 186 }; |
| 186 | 187 |
| 187 } // namespace blink | 188 } // namespace blink |
| 188 | 189 |
| 189 #endif // ComputedStyleBase_h | 190 #endif // ComputedStyleBase_h |
| OLD | NEW |