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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: Source/build/scripts/templates/ElementFactory.h.tmpl
diff --git a/Source/build/scripts/templates/ElementFactory.h.tmpl b/Source/build/scripts/templates/ElementFactory.h.tmpl
index a652c5c65f422e61db4601900f326ad96c664806..2e6667f039a93806fb08158449aaaa3ea0b9fec8 100644
--- a/Source/build/scripts/templates/ElementFactory.h.tmpl
+++ b/Source/build/scripts/templates/ElementFactory.h.tmpl
@@ -12,13 +12,21 @@ namespace WebCore {
class Element;
class Document;
class QualifiedName;
+
+{%- if namespace == 'HTML' %}
class HTMLFormElement;
+{%- endif %}
class {{namespace}}Element;
class {{namespace}}ElementFactory {
public:
- static PassRefPtr<{{namespace}}Element> create{{namespace}}Element(const QualifiedName&, Document*, HTMLFormElement* = 0, bool createdByParser = true);
+ static PassRefPtr<{{namespace}}Element> create{{namespace}}Element(const QualifiedName&,
+ Document*,
+ {%- if namespace == 'HTML' %}
+ HTMLFormElement* = 0,
+ {%- endif %}
+ bool createdByParser = true);
};
} // WebCore
« 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