| Index: Source/bindings/core/dart/DartApplicationLoader.h
|
| diff --git a/Source/bindings/core/dart/DartApplicationLoader.h b/Source/bindings/core/dart/DartApplicationLoader.h
|
| index 6c7b786bf8639f587b72a5c53412ce57123ad5c9..d9d9230689fe7cd0a850c4d428b32085d52a6198 100644
|
| --- a/Source/bindings/core/dart/DartApplicationLoader.h
|
| +++ b/Source/bindings/core/dart/DartApplicationLoader.h
|
| @@ -106,6 +106,8 @@ public:
|
| RefPtr<DartScriptInfo> m_scriptInfo;
|
| };
|
|
|
| + static String resolveUrl(String mainLibraryURL, const String& url, const String& packageRootOverride);
|
| +
|
| static PassRefPtr<DartApplicationLoader> create(Document* document, bool domEnabled)
|
| {
|
| return adoptRef(new DartApplicationLoader(document, domEnabled));
|
| @@ -133,6 +135,7 @@ public:
|
| bool uninitialized() const { return m_state == Uninitialized; }
|
|
|
| const KURL& scriptUrl() { return m_scriptUrl; }
|
| + const String packageRoot() const { return m_packageRoot; }
|
|
|
| static void initializePlaceholderInteropClasses();
|
|
|
| @@ -177,6 +180,7 @@ private:
|
| void loadScriptFromSnapshot(const String& url, const uint8_t* snapshot, intptr_t snapshotSize);
|
|
|
| Dart_Handle topLevelLibrary();
|
| + void setupVMLibraryHooks();
|
|
|
| // FIXME(vsm): Do we need all of these?
|
| void scriptLoadError(String failedUrl);
|
|
|