Chromium Code Reviews| 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..e14654906f7d962beb4107ab9946af5de6e149b3 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() { return m_packageRoot; } |
|
siva
2017/01/06 21:39:33
const String packageRoot() const { return m_packag
terry
2017/01/09 21:06:02
Done.
|
| 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); |