| Index: Source/core/dom/custom/CustomElementInvocation.h
|
| diff --git a/Source/core/dom/Microtask.h b/Source/core/dom/custom/CustomElementInvocation.h
|
| similarity index 79%
|
| copy from Source/core/dom/Microtask.h
|
| copy to Source/core/dom/custom/CustomElementInvocation.h
|
| index 27f72cbec01e5795593d3e545a3b5ca3e5c046fa..5c432e9de1ccc3bf976f17de2ae6ab24de10906c 100644
|
| --- a/Source/core/dom/Microtask.h
|
| +++ b/Source/core/dom/custom/CustomElementInvocation.h
|
| @@ -28,19 +28,25 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef Microtask_h
|
| -#define Microtask_h
|
| +#ifndef CustomElementInvocation_h
|
| +#define CustomElementInvocation_h
|
| +
|
| +#include "wtf/Noncopyable.h"
|
|
|
| namespace WebCore {
|
|
|
| -class Microtask {
|
| +class Element;
|
| +
|
| +class CustomElementInvocation {
|
| + WTF_MAKE_NONCOPYABLE(CustomElementInvocation);
|
| public:
|
| - static void performCheckpoint();
|
| + CustomElementInvocation() { }
|
|
|
| -private:
|
| - explicit Microtask();
|
| + virtual ~CustomElementInvocation() { }
|
| + virtual void dispatch(Element*) = 0;
|
| + virtual bool isCreated() const { return false; }
|
| };
|
|
|
| }
|
|
|
| -#endif // Microtask_h
|
| +#endif // CustomElementInvocation_h
|
|
|