Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index b643c2e17e6c0be32d2c200b366688ee45d78d06..a3936e4d1c6cbb0515b85d2912f3eae2df093a4f 100644 |
--- a/Source/core/dom/Document.h |
+++ b/Source/core/dom/Document.h |
@@ -104,6 +104,7 @@ class HTMLDocument; |
class HTMLElement; |
class HTMLFrameOwnerElement; |
class HTMLHeadElement; |
+class HTMLImportsController; |
class HTMLIFrameElement; |
class HTMLMapElement; |
class HTMLNameCollection; |
@@ -429,6 +430,7 @@ public: |
void notifyRemovePendingSheetIfNeeded(); |
bool haveStylesheetsLoaded() const; |
+ bool haveStylesheetsAndImportsLoaded() const { return haveImportsLoaded() && haveStylesheetsLoaded(); } |
// This is a DOM function. |
StyleSheetList* styleSheets(); |
@@ -1062,6 +1064,11 @@ public: |
CustomElementRegistry* registry() const { return m_registry.get(); } |
CustomElementRegistry* ensureCustomElementRegistry(); |
+ HTMLImportsController* ensureImports(); |
+ HTMLImportsController* imports() const { return m_imports.get(); } |
+ bool haveImportsLoaded() const; |
+ void didLoadAllImports(); |
+ |
void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObject*); |
void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject*); |
@@ -1152,6 +1159,8 @@ private: |
void createStyleResolver(); |
+ void executeScriptsWaitingForResourcesIfNeeded(); |
+ |
void seamlessParentUpdatedStylesheets(); |
PassRefPtr<NodeList> handleZeroPadding(const HitTestRequest&, HitTestResult&) const; |
@@ -1410,6 +1419,7 @@ private: |
OwnPtr<TextAutosizer> m_textAutosizer; |
RefPtr<CustomElementRegistry> m_registry; |
+ OwnPtr<HTMLImportsController> m_imports; |
bool m_scheduledTasksAreSuspended; |