Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: Source/build/scripts/templates/ElementFactory.h.tmpl

Issue 35423004: Move SVGNames to Python (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add comment Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 {% from "macros.tmpl" import license -%} 1 {% from "macros.tmpl" import license -%}
2 {{ license() }} 2 {{ license() }}
3 3
4 #ifndef {{namespace}}ElementFactory_h 4 #ifndef {{namespace}}ElementFactory_h
5 #define {{namespace}}ElementFactory_h 5 #define {{namespace}}ElementFactory_h
6 6
7 #include "wtf/Forward.h" 7 #include "wtf/Forward.h"
8 #include "wtf/PassRefPtr.h" 8 #include "wtf/PassRefPtr.h"
9 9
10 namespace WebCore { 10 namespace WebCore {
11 11
12 class Element; 12 class Element;
13 class Document; 13 class Document;
14 class QualifiedName; 14 class QualifiedName;
15
16 {%- if namespace == 'HTML' %}
15 class HTMLFormElement; 17 class HTMLFormElement;
18 {%- endif %}
16 19
17 class {{namespace}}Element; 20 class {{namespace}}Element;
18 21
19 class {{namespace}}ElementFactory { 22 class {{namespace}}ElementFactory {
20 public: 23 public:
21 static PassRefPtr<{{namespace}}Element> create{{namespace}}Element(const Qua lifiedName&, Document*, HTMLFormElement* = 0, bool createdByParser = true); 24 static PassRefPtr<{{namespace}}Element> create{{namespace}}Element(const Qua lifiedName&,
25 Document* ,
26 {%- if na mespace == 'HTML' %}
27 HTMLFormE lement* = 0,
28 {%- endif %}
29 bool crea tedByParser = true);
22 }; 30 };
23 31
24 } // WebCore 32 } // WebCore
25 33
26 #endif 34 #endif
OLDNEW
« no previous file with comments | « Source/build/scripts/templates/ElementFactory.cpp.tmpl ('k') | Source/build/scripts/templates/ElementWrapperFactory.cpp.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698