| {% from "macros.tmpl" import license %} |
| {{ license() }} |
| |
| #ifndef {{namespace}}ElementFactory_h |
| #define {{namespace}}ElementFactory_h |
| |
| #include "platform/heap/Handle.h" |
| #include "wtf/Forward.h" |
| #include "wtf/PassRefPtr.h" |
| |
| namespace blink { |
| |
| class Document; |
| class {{namespace}}Element; |
| {% if namespace == 'HTML' %} |
| class HTMLFormElement; |
| {% endif %} |
| |
| class {{namespace}}ElementFactory { |
| public: |
| static PassRefPtrWillBeRawPtr<{{namespace}}Element> create{{namespace}}Element( |
| const AtomicString& localName, |
| Document&, |
| {% if namespace == 'HTML' %} |
| HTMLFormElement* = 0, |
| {% endif %} |
| bool createdByParser = true); |
| }; |
| |
| } // namespace blink |
| |
| #endif |