Index: Source/bindings/templates/interface.h |
diff --git a/Source/bindings/templates/interface.h b/Source/bindings/templates/interface.h |
index 8555652a59b8819a56ec8c248949c7f5007a2c55..a8ebce59e92fe2f1e93066304e91ceabe47d894a 100644 |
--- a/Source/bindings/templates/interface.h |
+++ b/Source/bindings/templates/interface.h |
@@ -43,12 +43,18 @@ public: |
{% endif %} |
static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*); |
+ {% if is_v8object %} |
static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Value>, v8::Isolate*); |
static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*); |
+ {% endif %} |
+ {% if is_array_type %} |
+ static {{cpp_class}}* toImpl(v8::Handle<v8::Object> object); |
+ {% else %} |
static {{cpp_class}}* toImpl(v8::Handle<v8::Object> object) |
{ |
return blink::toScriptWrappableBase(object)->toImpl<{{cpp_class}}>(); |
} |
+ {% endif %} |
static {{cpp_class}}* toImplWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>); |
static const WrapperTypeInfo wrapperTypeInfo; |
static void refObject(ScriptWrappableBase* internalPointer); |