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

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

Issue 18467003: Refactoring: Introduce HTMLImport interface to form import tree. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added missing checks and a clearance. Created 7 years, 5 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/core.gypi ('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 f6a6a4760a8486875a77565910b365982ba39bf8..0bfe2ed0bf463d678fb8a017102ea679066e97ab 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -102,7 +102,7 @@ class HTMLDocument;
class HTMLElement;
class HTMLFrameOwnerElement;
class HTMLHeadElement;
-class HTMLImportsController;
+class HTMLImport;
class HTMLIFrameElement;
class HTMLMapElement;
class HTMLNameCollection;
@@ -995,8 +995,8 @@ public:
ScriptValue registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&);
CustomElementRegistrationContext* registrationContext() { return m_registrationContext.get(); }
- void setImports(PassRefPtr<HTMLImportsController>);
- HTMLImportsController* imports() const { return m_imports.get(); }
+ void setImport(HTMLImport*);
+ HTMLImport* import() const { return m_import; }
bool haveImportsLoaded() const;
void didLoadAllImports();
@@ -1332,7 +1332,7 @@ private:
OwnPtr<TextAutosizer> m_textAutosizer;
RefPtr<CustomElementRegistrationContext> m_registrationContext;
- RefPtr<HTMLImportsController> m_imports;
+ HTMLImport* m_import;
bool m_scheduledTasksAreSuspended;
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698