| OLD | NEW |
| 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 "platform/heap/Handle.h" | 7 #include "sky/engine/wtf/Forward.h" |
| 8 #include "wtf/Forward.h" | 8 #include "sky/engine/wtf/PassRefPtr.h" |
| 9 #include "wtf/PassRefPtr.h" | |
| 10 | 9 |
| 11 namespace blink { | 10 namespace blink { |
| 12 | 11 |
| 13 class Document; | 12 class Document; |
| 14 class {{namespace}}Element; | 13 class {{namespace}}Element; |
| 15 | 14 |
| 16 class {{namespace}}ElementFactory { | 15 class {{namespace}}ElementFactory { |
| 17 public: | 16 public: |
| 18 static PassRefPtr<{{namespace}}Element> create{{namespace}}Element( | 17 static PassRefPtr<{{namespace}}Element> create{{namespace}}Element( |
| 19 const AtomicString& localName, | 18 const AtomicString& localName, |
| 20 Document&, | 19 Document&, |
| 21 bool createdByParser = true); | 20 bool createdByParser = true); |
| 22 }; | 21 }; |
| 23 | 22 |
| 24 } // namespace blink | 23 } // namespace blink |
| 25 | 24 |
| 26 #endif | 25 #endif |
| OLD | NEW |