| Index: Source/core/dom/custom/CustomElementCallbackInvocation.h
|
| diff --git a/Source/core/dom/custom/CustomElementCallbackInvocation.h b/Source/core/dom/custom/CustomElementCallbackInvocation.h
|
| index 097e0918b08a0259c8efeef1c638ceccfac429b4..a5ba8a949c0f1427a4a3553bffba65cb5cb9dd62 100644
|
| --- a/Source/core/dom/custom/CustomElementCallbackInvocation.h
|
| +++ b/Source/core/dom/custom/CustomElementCallbackInvocation.h
|
| @@ -31,6 +31,7 @@
|
| #ifndef CustomElementCallbackInvocation_h
|
| #define CustomElementCallbackInvocation_h
|
|
|
| +#include "core/dom/custom/CustomElementInvocation.h"
|
| #include "core/dom/custom/CustomElementLifecycleCallbacks.h"
|
| #include "wtf/PassOwnPtr.h"
|
| #include "wtf/PassRefPtr.h"
|
| @@ -39,18 +40,12 @@
|
|
|
| namespace WebCore {
|
|
|
| -class Element;
|
| -
|
| -class CustomElementCallbackInvocation {
|
| +class CustomElementCallbackInvocation : public CustomElementInvocation {
|
| WTF_MAKE_NONCOPYABLE(CustomElementCallbackInvocation);
|
| public:
|
| static PassOwnPtr<CustomElementCallbackInvocation> createInvocation(PassRefPtr<CustomElementLifecycleCallbacks>, CustomElementLifecycleCallbacks::CallbackType);
|
| static PassOwnPtr<CustomElementCallbackInvocation> createAttributeChangedInvocation(PassRefPtr<CustomElementLifecycleCallbacks>, const AtomicString& name, const AtomicString& oldValue, const AtomicString& newValue);
|
|
|
| - virtual ~CustomElementCallbackInvocation() { }
|
| - virtual void dispatch(Element*) = 0;
|
| - virtual bool isCreated() const { return false; }
|
| -
|
| protected:
|
| CustomElementCallbackInvocation(PassRefPtr<CustomElementLifecycleCallbacks> callbacks)
|
| : m_callbacks(callbacks)
|
|
|