| OLD | NEW |
| 1 {% from "macros.tmpl" import license %} | 1 {% from "macros.tmpl" import license %} |
| 2 {{ license() }} | 2 {{ license() }} |
| 3 | 3 |
| 4 #ifndef {{namespace}}{{suffix}}Names_h | 4 #ifndef {{namespace}}{{suffix}}Names_h |
| 5 #define {{namespace}}{{suffix}}Names_h | 5 #define {{namespace}}{{suffix}}Names_h |
| 6 | 6 |
| 7 {% set symbol_export = '%s ' % export if export else '' %} | 7 {% set symbol_export = '%s ' % export if export else '' %} |
| 8 {% if suffix %} | 8 {% if suffix %} |
| 9 #include "core/{{namespace}}Names.h" | 9 #include "core/{{namespace}}Names.h" |
| 10 {% else %} | 10 {% else %} |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 // Generated from: | 21 // Generated from: |
| 22 {% for entry in in_files|sort %} | 22 {% for entry in in_files|sort %} |
| 23 // - {{entry}} | 23 // - {{entry}} |
| 24 {% endfor %} | 24 {% endfor %} |
| 25 | 25 |
| 26 namespace blink { | 26 namespace blink { |
| 27 namespace {{namespace}}Names { | 27 namespace {{namespace}}Names { |
| 28 | 28 |
| 29 {% for entry in entries|sort %} | 29 {% for entry in entries|sort %} |
| 30 {% filter enable_conditional(entry.Conditional) %} | 30 {% filter enable_conditional(entry.Conditional) %} |
| 31 {{symbol_export}}extern const WTF::AtomicString& {{entry|symbol}}; | 31 {{symbol_export}} extern const WTF::AtomicString& {{entry|symbol}}; |
| 32 {% endfilter %} | 32 {% endfilter %} |
| 33 {% endfor %} | 33 {% endfor %} |
| 34 | 34 |
| 35 {{symbol_export}}void init{{suffix}}(); | 35 {{symbol_export}}void init{{suffix}}(); |
| 36 | 36 |
| 37 } // {{namespace}}Names | 37 } // {{namespace}}Names |
| 38 } // namespace blink | 38 } // namespace blink |
| 39 | 39 |
| 40 #endif | 40 #endif |
| OLD | NEW |