| OLD | NEW |
| 1 {% include 'copyright_block.txt' %} | 1 {% include 'copyright_block.txt' %} |
| 2 #ifndef {{v8_class_or_partial}}_h | 2 #ifndef {{v8_class_or_partial}}_h |
| 3 #define {{v8_class_or_partial}}_h | 3 #define {{v8_class_or_partial}}_h |
| 4 | 4 |
| 5 {% for filename in header_includes %} | 5 {% for filename in header_includes %} |
| 6 #include "{{filename}}" | 6 #include "{{filename}}" |
| 7 {% endfor %} | 7 {% endfor %} |
| 8 | 8 |
| 9 namespace blink { | 9 namespace blink { |
| 10 {% if attributes|origin_trial_enabled_attributes %} | 10 {% if attributes|origin_trial_enabled_attributes %} |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 {% for attribute in attributes %} | 21 {% for attribute in attributes %} |
| 22 {% if attribute.has_custom_getter %}{# FIXME: and not attribute.implemented_
by #} | 22 {% if attribute.has_custom_getter %}{# FIXME: and not attribute.implemented_
by #} |
| 23 static void {{attribute.name}}AttributeGetterCustom(const v8::PropertyCallba
ckInfo<v8::Value>&); | 23 static void {{attribute.name}}AttributeGetterCustom(const v8::PropertyCallba
ckInfo<v8::Value>&); |
| 24 {% endif %} | 24 {% endif %} |
| 25 {% if attribute.has_custom_setter %}{# FIXME: and not attribute.implemented_
by #} | 25 {% if attribute.has_custom_setter %}{# FIXME: and not attribute.implemented_
by #} |
| 26 static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, co
nst v8::PropertyCallbackInfo<void>&); | 26 static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, co
nst v8::PropertyCallbackInfo<void>&); |
| 27 {% endif %} | 27 {% endif %} |
| 28 {% endfor %} | 28 {% endfor %} |
| 29 {# Custom internal fields #} | 29 {# Custom internal fields #} |
| 30 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const
DOMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8:
:FunctionTemplate>); | 30 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const
DOMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8:
:FunctionTemplate>); |
| 31 {% for group in attributes|origin_trial_enabled_attributes|groupby('origin_t
rial_feature_name') %}{{newline}} | 31 {% for origin_trial_feature_name in origin_trial_feature_names %}{{newline}} |
| 32 static void install{{group.grouper}}(ScriptState*, v8::Local<v8::Object> ins
tance); | 32 static void install{{origin_trial_feature_name}}(ScriptState*, v8::Local<v8:
:Object> instance); |
| 33 {% endfor %} | 33 {% endfor %} |
| 34 private: | 34 private: |
| 35 static void install{{v8_class}}Template(v8::Isolate*, const DOMWrapperWorld&
, v8::Local<v8::FunctionTemplate> interfaceTemplate); | 35 static void install{{v8_class}}Template(v8::Isolate*, const DOMWrapperWorld&
, v8::Local<v8::FunctionTemplate> interfaceTemplate); |
| 36 }; | 36 }; |
| 37 } | 37 } |
| 38 #endif // {{v8_class_or_partial}}_h | 38 #endif // {{v8_class_or_partial}}_h |
| OLD | NEW |