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

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

Issue 2799323002: [local; kouhei 2] kouhei's giant CL https://codereview.chromium.org/2555653002 (Closed)
Patch Set: Rebase Created 3 years, 8 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 | « third_party/WebKit/Source/core/dom/BUILD.gn ('k') | third_party/WebKit/Source/core/dom/Modulator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Modulator.h
diff --git a/third_party/WebKit/Source/core/dom/Modulator.h b/third_party/WebKit/Source/core/dom/Modulator.h
index ad1d58268c8499f258563614d9c20449aefc4e11..ae0f66a38d2598214250a8ca881c7c9e156946a7 100644
--- a/third_party/WebKit/Source/core/dom/Modulator.h
+++ b/third_party/WebKit/Source/core/dom/Modulator.h
@@ -8,6 +8,7 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/core/v8/V8PerContextData.h"
#include "core/CoreExport.h"
+#include "core/dom/AncestorList.h"
#include "platform/heap/Handle.h"
#include "platform/loader/fetch/AccessControlStatus.h"
#include "platform/weborigin/KURL.h"
@@ -69,6 +70,23 @@ class CORE_EXPORT Modulator : public GarbageCollectedFinalized<Modulator>,
virtual ReferrerPolicy GetReferrerPolicy() = 0;
virtual SecurityOrigin* GetSecurityOrigin() = 0;
+ // https://html.spec.whatwg.org/multipage/webappapis.html#fetch-a-module-script-tree
+ virtual void FetchTree(const ModuleScriptFetchRequest&,
+ ModuleTreeClient*) = 0;
+
+ // https://html.spec.whatwg.org/#internal-module-script-graph-fetching-procedure
+ virtual void FetchTreeInternal(const ModuleScriptFetchRequest&,
+ const AncestorList&,
+ ModuleGraphLevel,
+ ModuleTreeClient*) = 0;
+
+ // Asynchronously retrieve a module script from the module map, or fetch it
+ // and put it in the map if it's not there already.
+ // https://html.spec.whatwg.org/#fetch-a-single-module-script
+ virtual void FetchSingle(const ModuleScriptFetchRequest&,
+ ModuleGraphLevel,
+ SingleModuleClient*) = 0;
+
// Synchronously retrieves a single module script from existing module map
// entry.
virtual ModuleScript* GetFetchedModuleScript(const KURL&) = 0;
« no previous file with comments | « third_party/WebKit/Source/core/dom/BUILD.gn ('k') | third_party/WebKit/Source/core/dom/Modulator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698