Index: Source/bindings/v8/V8CustomElementCallback.h |
diff --git a/Source/bindings/v8/V8CustomElementCallback.h b/Source/bindings/v8/V8CustomElementCallback.h |
index 24becc1b4164e4b20dd394d20033551bcfe2af10..09bc9609e3e17047c1895d60f8ac8723e9151353 100644 |
--- a/Source/bindings/v8/V8CustomElementCallback.h |
+++ b/Source/bindings/v8/V8CustomElementCallback.h |
@@ -44,17 +44,22 @@ class ScriptExecutionContext; |
class V8CustomElementCallback : public CustomElementCallback, ActiveDOMCallback { |
public: |
- static PassRefPtr<V8CustomElementCallback> create(ScriptExecutionContext*, v8::Handle<v8::Object> owner, v8::Handle<v8::Function> ready); |
+ static PassRefPtr<V8CustomElementCallback> create(ScriptExecutionContext*, v8::Handle<v8::Object> owner, v8::Handle<v8::Function> ready, v8::Handle<v8::Function> inserted, v8::Handle<v8::Function> removed); |
virtual ~V8CustomElementCallback() { } |
private: |
- V8CustomElementCallback(ScriptExecutionContext*, v8::Handle<v8::Function> ready); |
+ V8CustomElementCallback(ScriptExecutionContext*, v8::Handle<v8::Function> ready, v8::Handle<v8::Function> inserted, v8::Handle<v8::Function> removed); |
virtual void ready(Element*) OVERRIDE; |
+ virtual void inserted(Element*) OVERRIDE; |
+ virtual void removed(Element*) OVERRIDE; |
+ void invoke(const ScopedPersistent<v8::Function>& callback, Element*); |
RefPtr<DOMWrapperWorld> m_world; |
ScopedPersistent<v8::Function> m_ready; |
+ ScopedPersistent<v8::Function> m_inserted; |
+ ScopedPersistent<v8::Function> m_removed; |
}; |
} |