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

Unified Diff: Source/core/dom/Document.h

Issue 15856002: First step of HTMLImports (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed Mac build Created 7 years, 7 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/css/StyleSheetContents.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/css/StyleSheetContents.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698