1 {% from "macros.tmpl" import license %}
4 #ifndef {{namespace}}ElementFactory_h
5 #define {{namespace}}ElementFactory_h
7 #include "platform/heap/Handle.h"
8 #include "wtf/Forward.h"
9 #include "wtf/PassRefPtr.h"
14 class {{namespace}}Element;
15 {% if namespace == 'HTML' %}
16 class HTMLFormElement;
19 class {{namespace}}ElementFactory {
21 static PassRefPtrWillBeRawPtr<{{namespace}}Element> create{{namespace}}Element(
22 const AtomicString& localName,
24 {% if namespace == 'HTML' %}
27 bool createdByParser = true);