| 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 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 static void {{attribute.name}}AttributeGetterCustom(const v8::PropertyCallba
ckInfo<v8::Value>&); | 22 static void {{attribute.name}}AttributeGetterCustom(const v8::PropertyCallba
ckInfo<v8::Value>&); |
| 23 {% endfilter %} | 23 {% endfilter %} |
| 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 {% filter conditional(attribute.conditional_string) %} | 26 {% filter conditional(attribute.conditional_string) %} |
| 27 static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, co
nst v8::PropertyCallbackInfo<void>&); | 27 static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, co
nst v8::PropertyCallbackInfo<void>&); |
| 28 {% endfilter %} | 28 {% endfilter %} |
| 29 {% endif %} | 29 {% endif %} |
| 30 {% endfor %} | 30 {% endfor %} |
| 31 {# Custom internal fields #} | 31 {# Custom internal fields #} |
| 32 static void installConditionallyEnabledMethods(v8::Local<v8::Object>, v8::Is
olate*); | 32 static void preparePrototypeObject(v8::Isolate*, v8::Local<v8::Object>); |
| 33 private: | 33 private: |
| 34 static void install{{v8_class}}Template(v8::Local<v8::FunctionTemplate>, v8:
:Isolate*); | 34 static void install{{v8_class}}Template(v8::Local<v8::FunctionTemplate>, v8:
:Isolate*); |
| 35 }; | 35 }; |
| 36 } | 36 } |
| 37 #endif // {{v8_class_or_partial}}_h | 37 #endif // {{v8_class_or_partial}}_h |
| OLD | NEW |