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

Side by Side Diff: sky/engine/build/scripts/templates/ElementFactory.h.tmpl

Issue 942933003: Remove almost all clients of isHTMLElement (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
OLDNEW
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
OLDNEW
« no previous file with comments | « sky/engine/build/scripts/templates/ElementFactory.cpp.tmpl ('k') | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698