Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(455)

Unified Diff: Source/core/html/imports/HTMLImport.h

Issue 238923009: HTML Imports: No more BlockingDocumentCreation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed the build breakage Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/imports/HTMLImport.h
diff --git a/Source/core/html/imports/HTMLImport.h b/Source/core/html/imports/HTMLImport.h
index 79f075d56b007f93df8b565a4836a401fe0fd738..5d1e1b916ad07f27006cf09763e9dc7bc38890fc 100644
--- a/Source/core/html/imports/HTMLImport.h
+++ b/Source/core/html/imports/HTMLImport.h
@@ -37,10 +37,10 @@
namespace WebCore {
-class CustomElementMicrotaskImportStep;
class Document;
class LocalFrame;
class HTMLImportChild;
+class HTMLImportLoader;
class HTMLImportsController;
class KURL;
@@ -106,18 +106,17 @@ public:
virtual ~HTMLImport() { }
HTMLImport* root();
+ bool isPreceding(HTMLImport*);
bool isRoot() const { return !isChild(); }
bool isSync() const { return SyncMode(m_sync) == Sync; }
const HTMLImportState& state() const { return m_state; }
- void appendChild(HTMLImport*);
+ void appendImport(HTMLImport*);
virtual bool isChild() const { return false; }
virtual Document* document() const = 0;
virtual bool isDone() const = 0; // FIXME: Should be renamed to haveFinishedLoading()
- virtual bool hasLoader() const = 0;
- virtual bool ownsLoader() const { return false; }
- virtual CustomElementMicrotaskImportStep* customElementMicrotaskStep() const { return 0; }
+ virtual HTMLImportLoader* loader() const { return 0; }
virtual void stateWillChange() { }
virtual void stateDidChange();

Powered by Google App Engine
This is Rietveld 408576698