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

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

Issue 1853743005: Oilpan: Remove WillBe types (part 13) (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
OLDNEW
1 {% from "macros.tmpl" import license %} 1 {% from "macros.tmpl" import license %}
2 {{ license() }} 2 {{ license() }}
3 3
4 #ifndef InternalSettingsGenerated_h 4 #ifndef InternalSettingsGenerated_h
5 #define InternalSettingsGenerated_h 5 #define InternalSettingsGenerated_h
6 6
7 #include "bindings/core/v8/ScriptWrappable.h" 7 #include "bindings/core/v8/ScriptWrappable.h"
8 #include "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 #include "wtf/PassRefPtr.h" 9 #include "wtf/PassRefPtr.h"
10 #include "wtf/RefCounted.h" 10 #include "wtf/RefCounted.h"
11 #include "wtf/text/WTFString.h" 11 #include "wtf/text/WTFString.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class Page; 15 class Page;
16 16
17 class InternalSettingsGenerated : public RefCountedWillBeGarbageCollectedFinaliz ed<InternalSettingsGenerated>, public ScriptWrappable { 17 class InternalSettingsGenerated : public GarbageCollectedFinalized<InternalSetti ngsGenerated>, public ScriptWrappable {
18 DEFINE_WRAPPERTYPEINFO(); 18 DEFINE_WRAPPERTYPEINFO();
19 public: 19 public:
20 explicit InternalSettingsGenerated(Page*); 20 explicit InternalSettingsGenerated(Page*);
21 virtual ~InternalSettingsGenerated(); 21 virtual ~InternalSettingsGenerated();
22 void resetToConsistentState(); 22 void resetToConsistentState();
23 {% for setting in settings if setting.type|to_idl_type %} 23 {% for setting in settings if setting.type|to_idl_type %}
24 void set{{setting.name|upper_first}}({{setting.type|to_passing_type}} {{sett ing.name}}); 24 void set{{setting.name|upper_first}}({{setting.type|to_passing_type}} {{sett ing.name}});
25 {% endfor %} 25 {% endfor %}
26 26
27 DECLARE_VIRTUAL_TRACE(); 27 DECLARE_VIRTUAL_TRACE();
28 28
29 private: 29 private:
30 RawPtrWillBeMember<Page> m_page; 30 Member<Page> m_page;
31 31
32 {% for setting in settings if setting.type|to_idl_type %} 32 {% for setting in settings if setting.type|to_idl_type %}
33 {{setting.type}} m_{{setting.name}}; 33 {{setting.type}} m_{{setting.name}};
34 {% endfor %} 34 {% endfor %}
35 }; 35 };
36 36
37 } // namespace blink 37 } // namespace blink
38 38
39 #endif // InternalSettingsGenerated_h 39 #endif // InternalSettingsGenerated_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698