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

Unified Diff: Source/bindings/core/dart/DartApplicationLoader.h

Issue 2543703003: Added setting up VMLibraryHooks for Dartium to support resolvePageUri (Closed)
Patch Set: Incorporated Siva suggestion 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 | « no previous file | Source/bindings/core/dart/DartApplicationLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | Source/bindings/core/dart/DartApplicationLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698