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

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

Issue 2555653002: [WIP Prototype] ES6 https://html.spec.whatwg.org/#fetch-a-single-module-script implementation (Closed)
Patch Set: WIP: ModuleLoaderClient && crafts to make it work even if notifyFinished adds another ModuleLoaderC… Created 4 years 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: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 67ac81e35d1c0d983528e25d022c17404db8ee3e..ace1ffff6c2af7185c4081f14634116d109fe330 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -135,6 +135,7 @@ class LocalFrame;
class Location;
class MediaQueryListListener;
class MediaQueryMatcher;
+class ModuleMap;
class NodeFilter;
class NodeIntersectionObserverData;
class NodeIterator;
@@ -1298,6 +1299,8 @@ class CORE_EXPORT Document : public ContainerNode,
PropertyRegistry* propertyRegistry();
+ ModuleMap* ensureModuleMap();
+
// Indicates whether the user has interacted with this particular Document.
void setHasReceivedUserGesture() { m_hasReceivedUserGesture = true; }
bool hasReceivedUserGesture() const { return m_hasReceivedUserGesture; }
@@ -1667,6 +1670,8 @@ class CORE_EXPORT Document : public ContainerNode,
Member<PropertyRegistry> m_propertyRegistry;
+ Member<ModuleMap> m_moduleMap;
+
unsigned m_passwordCount;
TaskHandle m_sensitiveInputVisibilityTask;

Powered by Google App Engine
This is Rietveld 408576698