Index: Source/bindings/templates/interface.h |
diff --git a/Source/bindings/templates/interface.h b/Source/bindings/templates/interface.h |
index 52853f411d929f1c0e8986032b74f7f3adb636bc..a558ef4de0da637f8c3d715b06a7940a22c4c953 100644 |
--- a/Source/bindings/templates/interface.h |
+++ b/Source/bindings/templates/interface.h |
@@ -97,12 +97,20 @@ public: |
{% for attribute in attributes %} |
{% if attribute.has_custom_getter %}{# FIXME: and not attribute.implemented_by #} |
{% filter conditional(attribute.conditional_string) %} |
+ {% if attribute.is_expose_js_accessors %} |
+ static void {{attribute.name}}AttributeGetterCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
+ {% else %} |
static void {{attribute.name}}AttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>&); |
+ {% endif %} |
{% endfilter %} |
{% endif %} |
{% if attribute.has_custom_setter %}{# FIXME: and not attribute.implemented_by #} |
{% filter conditional(attribute.conditional_string) %} |
+ {% if attribute.is_expose_js_accessors %} |
+ static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, const v8::FunctionCallbackInfo<v8::Value>&); |
+ {% else %} |
static void {{attribute.name}}AttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); |
+ {% endif %} |
{% endfilter %} |
{% endif %} |
{% endfor %} |