• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{% from "macros.tmpl" import license %}
2{{ license() }}
3
4#ifndef {{namespace}}{{suffix}}Names_h
5#define {{namespace}}{{suffix}}Names_h
6
7{% if suffix %}
8#include "core/{{namespace}}Names.h"
9{% else %}
10{% if export %}
11#include "platform/PlatformExport.h"
12{% endif %}
13#include "wtf/text/AtomicString.h"
14{% endif %}
15
16namespace blink {
17namespace {{namespace}}Names {
18
19{% for entry in entries|sort %}
20{% filter enable_conditional(entry.Conditional) %}
21{% if export %}
22{{export}} extern const WTF::AtomicString& {{entry|symbol}};
23{% else %}
24extern const WTF::AtomicString& {{entry|symbol}};
25{% endif %}
26{% endfilter %}
27{% endfor %}
28
29{{export}} void init{{suffix}}();
30
31} // {{namespace}}Names
32} // namespace blink
33
34#endif
35