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

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

Issue 2640723002: [ES6 modules] Implement https://html.spec.whatwg.org/#resolve-a-module-specifier (Closed)
Patch Set: yhirano review2 Created 3 years, 11 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/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 1abe03e68821a8076b0abc27a2add36f1e58ee27..6f923196ec8333e0e90fe4fddcd3d2ff2b5dd196 100644
--- a/third_party/WebKit/Source/core/dom/Modulator.h
+++ b/third_party/WebKit/Source/core/dom/Modulator.h
@@ -7,6 +7,7 @@
#include "core/CoreExport.h"
#include "platform/heap/Handle.h"
+#include "platform/weborigin/KURL.h"
namespace blink {
@@ -20,6 +21,10 @@ class LocalFrame;
class CORE_EXPORT Modulator : public GarbageCollectedMixin {
public:
static Modulator* from(LocalFrame*);
+
+ // https://html.spec.whatwg.org/#resolve-a-module-specifier
+ static KURL resolveModuleSpecifier(const String& moduleRequest,
+ const KURL& baseURL);
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/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