1{% from "macros.tmpl" import license %} 2{{ license() }} 3 4#ifndef InternalSettingsGenerated_h 5#define InternalSettingsGenerated_h 6 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" 13 14namespace blink { 15 16class Page; 17 18class InternalSettingsGenerated : public RefCountedWillBeGarbageCollectedFinalized<InternalSettingsGenerated>, public ScriptWrappable { 19 DEFINE_WRAPPERTYPEINFO(); 20public: 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}}); 26 {% endfor %} 27 28 virtual void trace(Visitor*) { } 29 30private: 31 Page* m_page; 32 33 {% for setting in settings if setting.type|to_idl_type %} 34 {{setting.type}} m_{{setting.name}}; 35 {% endfor %} 36}; 37 38} // namespace blink 39 40#endif // InternalSettingsGenerated_h 41