1 {% from "macros.tmpl" import license %}
4 #ifndef InternalSettingsGenerated_h
5 #define InternalSettingsGenerated_h
7 #include "bindings/core/v8/ScriptWrappable.h"
8 #include "platform/RefCountedSupplement.h"
9 #include "platform/heap/Handle.h"
10 #include "wtf/PassRefPtr.h"
11 #include "wtf/RefCounted.h"
12 #include "wtf/text/WTFString.h"
18 class InternalSettingsGenerated : public RefCountedWillBeGarbageCollectedFinalized<InternalSettingsGenerated>, public ScriptWrappable {
19 DEFINE_WRAPPERTYPEINFO();
21 explicit InternalSettingsGenerated(Page*);
22 virtual ~InternalSettingsGenerated();
23 void resetToConsistentState();
24 {% for setting in settings if setting.type|to_idl_type %}
25 void set{{setting.name|upper_first}}({{setting.type|to_passing_type}} {{setting.name}});
28 DEFINE_INLINE_VIRTUAL_TRACE()
30 visitor->trace(m_page);
34 RawPtrWillBeMember<Page> m_page;
36 {% for setting in settings if setting.type|to_idl_type %}
37 {{setting.type}} m_{{setting.name}};
43 #endif // InternalSettingsGenerated_h