Chromium Code Reviews| Index: Source/bindings/v8/V8CustomElementLifecycleCallbacks.h |
| diff --git a/Source/bindings/v8/V8CustomElementLifecycleCallbacks.h b/Source/bindings/v8/V8CustomElementLifecycleCallbacks.h |
| index 56664aa692dbd2c7bdff8e88ccdf650ae64b1b36..81264c5a9c2fa488defda28e92ef03922821c52c 100644 |
| --- a/Source/bindings/v8/V8CustomElementLifecycleCallbacks.h |
| +++ b/Source/bindings/v8/V8CustomElementLifecycleCallbacks.h |
| @@ -44,19 +44,25 @@ class ScriptExecutionContext; |
| class V8CustomElementLifecycleCallbacks : public CustomElementLifecycleCallbacks, ActiveDOMCallback { |
| public: |
| - static PassRefPtr<V8CustomElementLifecycleCallbacks> create(ScriptExecutionContext*, v8::Handle<v8::Object> prototype, v8::Handle<v8::Function> created, v8::Handle<v8::Function> attributeChanged); |
| + static PassRefPtr<V8CustomElementLifecycleCallbacks> create(ScriptExecutionContext*, v8::Handle<v8::Object> prototype, v8::Handle<v8::Function> created, v8::Handle<v8::Function> enteredDocument, v8::Handle<v8::Function> leftDocument, v8::Handle<v8::Function> attributeChanged); |
| virtual ~V8CustomElementLifecycleCallbacks() { } |
| private: |
| - V8CustomElementLifecycleCallbacks(ScriptExecutionContext*, v8::Handle<v8::Object> prototype, v8::Handle<v8::Function> created, v8::Handle<v8::Function> attributeChanged); |
| + V8CustomElementLifecycleCallbacks(ScriptExecutionContext*, v8::Handle<v8::Object> prototype, v8::Handle<v8::Function> created, v8::Handle<v8::Function> enteredDocument, v8::Handle<v8::Function> leftDocument, v8::Handle<v8::Function> attributeChanged); |
| virtual void created(Element*) OVERRIDE; |
| + virtual void enteredDocument(Element*) OVERRIDE; |
| + virtual void leftDocument(Element*) OVERRIDE; |
| virtual void attributeChanged(Element*, const AtomicString& name, const AtomicString& oldValue, const AtomicString& newValue) OVERRIDE; |
| + void call(const ScopedPersistent<v8::Function>& weakCallback, Element*); |
| + |
| RefPtr<DOMWrapperWorld> m_world; |
| ScopedPersistent<v8::Object> m_prototype; |
| ScopedPersistent<v8::Function> m_created; |
| + ScopedPersistent<v8::Function> m_enteredDocument; |
| + ScopedPersistent<v8::Function> m_leftDocument; |
|
haraken
2013/07/08 01:30:06
Just to confirm: There is no possibility that thes
|
| ScopedPersistent<v8::Function> m_attributeChanged; |
| }; |