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

Unified Diff: Source/build/scripts/templates/ElementFactory.h.tmpl

Issue 27009005: Generate HTMLElementFactory with Python (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Actually use the code 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
« no previous file with comments | « Source/build/scripts/templates/ElementFactory.cpp.tmpl ('k') | Source/core/core.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
new file mode 100644
index 0000000000000000000000000000000000000000..a652c5c65f422e61db4601900f326ad96c664806
--- /dev/null
+++ b/Source/build/scripts/templates/ElementFactory.h.tmpl
@@ -0,0 +1,26 @@
+{% from "macros.tmpl" import license -%}
+{{ license() }}
+
+#ifndef {{namespace}}ElementFactory_h
+#define {{namespace}}ElementFactory_h
+
+#include "wtf/Forward.h"
+#include "wtf/PassRefPtr.h"
+
+namespace WebCore {
+
+class Element;
+class Document;
+class QualifiedName;
+class HTMLFormElement;
+
+class {{namespace}}Element;
+
+class {{namespace}}ElementFactory {
+public:
+ static PassRefPtr<{{namespace}}Element> create{{namespace}}Element(const QualifiedName&, Document*, HTMLFormElement* = 0, bool createdByParser = true);
+};
+
+} // WebCore
+
+#endif
« no previous file with comments | « Source/build/scripts/templates/ElementFactory.cpp.tmpl ('k') | Source/core/core.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698