1 {% from "macros.tmpl" import license %}
4 #ifndef InternalSettingsGenerated_h
5 #define InternalSettingsGenerated_h
7 #include "platform/heap/Handle.h"
8 #include "platform/RefCountedSupplement.h"
9 #include "wtf/PassRefPtr.h"
10 #include "wtf/RefCounted.h"
11 #include "wtf/text/WTFString.h"
17 class InternalSettingsGenerated : public RefCountedWillBeGarbageCollectedFinalized<InternalSettingsGenerated> {
19 explicit InternalSettingsGenerated(Page*);
20 virtual ~InternalSettingsGenerated();
21 void resetToConsistentState();
22 {% for setting in settings if setting.type|to_idl_type %}
23 void set{{setting.name|upper_first}}({{setting.type|to_passing_type}} {{setting.name}});
26 virtual void trace(Visitor*) { }
31 {% for setting in settings if setting.type|to_idl_type %}
32 {{setting.type}} m_{{setting.name}};
36 } // namespace WebCore
38 #endif // InternalSettingsGenerated_h