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

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: Rebased to ToT. 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
« no previous file with comments | « Source/core/dom/custom/CustomElementScheduler.cpp ('k') | Source/core/html/imports/HTMLImport.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c0d9e975f992de15abb56a4cb216adbed6f3bb8f 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 precedes(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();
« no previous file with comments | « Source/core/dom/custom/CustomElementScheduler.cpp ('k') | Source/core/html/imports/HTMLImport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698