Chromium Code Reviews| Index: Source/core/dom/custom/CustomElementMicrotaskDispatcher.h |
| diff --git a/Source/core/dom/custom/CustomElementMicrotaskDispatcher.h b/Source/core/dom/custom/CustomElementMicrotaskDispatcher.h |
| index a3f7669c94426d2b05ebba69e2bf1c65e59f7ae3..fc26504687be5df36a5cb26925178e20360dfa78 100644 |
| --- a/Source/core/dom/custom/CustomElementMicrotaskDispatcher.h |
| +++ b/Source/core/dom/custom/CustomElementMicrotaskDispatcher.h |
| @@ -5,27 +5,29 @@ |
| #ifndef CustomElementMicrotaskDispatcher_h |
| #define CustomElementMicrotaskDispatcher_h |
| -#include "core/dom/custom/CustomElementMicrotaskQueue.h" |
| #include "wtf/Noncopyable.h" |
| #include "wtf/PassOwnPtr.h" |
| #include "wtf/Vector.h" |
| namespace WebCore { |
| +class CustomElementAsyncImportMicrotaskQueue; |
| class CustomElementCallbackQueue; |
| class CustomElementMicrotaskImportStep; |
| +class CustomElementMicrotaskQueue; |
| class CustomElementMicrotaskStep; |
| class HTMLImportLoader; |
| class CustomElementMicrotaskDispatcher { |
| WTF_MAKE_NONCOPYABLE(CustomElementMicrotaskDispatcher); |
| public: |
| - ~CustomElementMicrotaskDispatcher() { } |
| + ~CustomElementMicrotaskDispatcher(); |
| static CustomElementMicrotaskDispatcher& instance(); |
| void enqueue(HTMLImportLoader*, PassOwnPtr<CustomElementMicrotaskStep>); |
| void enqueue(CustomElementCallbackQueue*); |
| + void enqueueAsyncImportStep(PassOwnPtr<CustomElementMicrotaskImportStep>); |
|
dominicc (has gone to gerrit)
2014/05/25 23:55:10
Why does the signature differ from enqueue(HTMLImp
Hajime Morrita
2014/05/27 21:12:47
As async steps go to top-level global queueue, the
dominicc (has gone to gerrit)
2014/05/27 23:41:25
Maybe we should name the parameter in the signatur
|
| void importDidFinish(CustomElementMicrotaskImportStep*); |
| @@ -51,6 +53,7 @@ private: |
| } m_phase; |
| RefPtr<CustomElementMicrotaskQueue> m_resolutionAndImports; |
| + RefPtr<CustomElementAsyncImportMicrotaskQueue> m_asyncImports; |
| Vector<CustomElementCallbackQueue*> m_elements; |
| }; |