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

Side by Side Diff: third_party/WebKit/Source/build/scripts/templates/ElementFactory.h.tmpl

Issue 1883663005: Remove remaining binding layer RawPtr<>s. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "platform/heap/Handle.h" 7 #include "platform/heap/Handle.h"
8 #include "wtf/Forward.h" 8 #include "wtf/Forward.h"
9 #include "wtf/PassRefPtr.h" 9 #include "wtf/PassRefPtr.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class Document; 13 class Document;
14 class {{namespace}}Element; 14 class {{namespace}}Element;
15 {% if namespace == 'HTML' %} 15 {% if namespace == 'HTML' %}
16 class HTMLFormElement; 16 class HTMLFormElement;
17 {% endif %} 17 {% endif %}
18 18
19 class {{namespace}}ElementFactory { 19 class {{namespace}}ElementFactory {
20 public: 20 public:
21 static RawPtr<{{namespace}}Element> create{{namespace}}Element( 21 static {{namespace}}Element* create{{namespace}}Element(
22 const AtomicString& localName, 22 const AtomicString& localName,
23 Document&, 23 Document&,
24 {% if namespace == 'HTML' %} 24 {% if namespace == 'HTML' %}
25 HTMLFormElement* = 0, 25 HTMLFormElement* = 0,
26 {% endif %} 26 {% endif %}
27 bool createdByParser = true); 27 bool createdByParser = true);
28 }; 28 };
29 29
30 } // namespace blink 30 } // namespace blink
31 31
32 #endif 32 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698