| Index: Source/core/html/imports/HTMLImportLoader.h
|
| diff --git a/Source/core/html/imports/HTMLImportLoader.h b/Source/core/html/imports/HTMLImportLoader.h
|
| index 74b82681b4184ff64f67d83181abed6a0f808e72..19423705af17e2e08a1e343909833d8cd1b504d8 100644
|
| --- a/Source/core/html/imports/HTMLImportLoader.h
|
| +++ b/Source/core/html/imports/HTMLImportLoader.h
|
| @@ -33,6 +33,8 @@
|
|
|
| #include "core/fetch/RawResource.h"
|
| #include "core/fetch/ResourceOwner.h"
|
| +#include "wtf/OwnPtr.h"
|
| +#include "wtf/PassOwnPtr.h"
|
| #include "wtf/Vector.h"
|
|
|
| namespace WebCore {
|
| @@ -41,6 +43,7 @@ class Document;
|
| class DocumentWriter;
|
| class HTMLImportChild;
|
| class HTMLImportsController;
|
| +class RefCountedCustomElementMicrotaskQueue;
|
|
|
| //
|
| // Owning imported Document lifetime. It also implements ResourceClient through ResourceOwner
|
| @@ -73,12 +76,14 @@ public:
|
|
|
| bool isDone() const { return m_state == StateLoaded || m_state == StateError; }
|
| bool hasError() const { return m_state == StateError; }
|
| + bool shouldBlockScriptExecution() const;
|
|
|
| void importDestroyed();
|
| void startLoading(const ResourcePtr<RawResource>&);
|
| void didFinishParsing();
|
| void didRemoveAllPendingStylesheet();
|
| - bool isOwnedBy(const HTMLImportChild* import) const { return m_imports[0] == import; }
|
| +
|
| + PassRefPtr<RefCountedCustomElementMicrotaskQueue> microtaskQueue() const;
|
|
|
| private:
|
| HTMLImportLoader(HTMLImportsController*);
|
| @@ -103,6 +108,7 @@ private:
|
| State m_state;
|
| RefPtr<Document> m_importedDocument;
|
| RefPtr<DocumentWriter> m_writer;
|
| + RefPtr<RefCountedCustomElementMicrotaskQueue> m_microtaskQueue;
|
| };
|
|
|
| } // namespace WebCore
|
|
|