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

Unified Diff: sky/engine/core/html/imports/HTMLImportLoader.h

Issue 703593003: Move exports from Document to Module (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: sky/engine/core/html/imports/HTMLImportLoader.h
diff --git a/sky/engine/core/html/imports/HTMLImportLoader.h b/sky/engine/core/html/imports/HTMLImportLoader.h
index a799a6027e1c8f06b7590d5ceeee9b422f086661..a96cc4e6c676dfb893d9978823127726abd6263a 100644
--- a/sky/engine/core/html/imports/HTMLImportLoader.h
+++ b/sky/engine/core/html/imports/HTMLImportLoader.h
@@ -44,6 +44,7 @@ class CustomElementSyncMicrotaskQueue;
class Document;
class HTMLImportChild;
class HTMLImportsController;
+class Module;
class HTMLImportLoader final : public MojoFetcher::Client {
public:
@@ -63,6 +64,8 @@ public:
virtual ~HTMLImportLoader();
Document* document() const { return m_document.get(); }
+ Module* module() const { return m_module.get(); }
+
void addImport(HTMLImportChild*);
#if !ENABLE(OILPAN)
void removeImport(HTMLImportChild*);
@@ -112,6 +115,7 @@ private:
RawPtr<HTMLImportsController> m_controller;
Vector<RawPtr<HTMLImportChild> > m_imports;
State m_state;
+ RefPtr<Module> m_module;
RefPtr<Document> m_document;
RefPtr<CustomElementSyncMicrotaskQueue> m_microtaskQueue;

Powered by Google App Engine
This is Rietveld 408576698