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