OLD | NEW |
(Empty) | |
| 1 {% from 'macros.tmpl' import license %} |
| 2 {{license()}} |
| 3 |
| 4 #ifndef ComputedStyleBaseConstants_h |
| 5 #define ComputedStyleBaseConstants_h |
| 6 |
| 7 namespace blink { |
| 8 |
| 9 // TODO(sashab): Move these enums to their own namespace, or add a CSS prefix, |
| 10 // for consistency and to prevent name conflicts. |
| 11 |
| 12 {% for enum_name, enum_values in enums.items() %} |
| 13 enum class {{enum_name}} : unsigned { |
| 14 {% for enum_value in enum_values %} |
| 15 {{enum_value}}, |
| 16 {% endfor %} |
| 17 }; |
| 18 |
| 19 {% endfor %} |
| 20 } // namespace blink |
| 21 |
| 22 #endif // ComputedStyleBaseConstants_h |
OLD | NEW |