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

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

Issue 974273003: Revert "Revert "Support multiple DOM isolates and tweak devtools frontend to better handle large #s… (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/dartium
Patch Set: Created 5 years, 10 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 | « Source/bindings/core/dart/DartApplicationLoader.h ('k') | Source/bindings/core/dart/DartController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/dart/DartController.h
diff --git a/Source/bindings/core/dart/DartController.h b/Source/bindings/core/dart/DartController.h
index b2ed31b0538d576321434107396afde29139d430..d06025f35a161b2a14c43fbc2d3a13f4a314ca82 100644
--- a/Source/bindings/core/dart/DartController.h
+++ b/Source/bindings/core/dart/DartController.h
@@ -108,17 +108,21 @@ private:
static void weakCallback(void* isolateCallbackData, Dart_WeakPersistentHandle, void* peer);
- HashSet<Document*> m_documentsWithDart;
-
LibraryIdMap* libraryIdMapForIsolate(Dart_Isolate);
DartScriptState* lookupScriptStateFromLibraryIdMap(Dart_Isolate, v8::Handle<v8::Context>, LibraryIdMap*, intptr_t libraryId);
+ String isolateName(Dart_Isolate);
// The frame that owns this controller.
LocalFrame* m_frame;
// Isolate associated with scripts in this document.
Vector<Dart_Isolate> m_isolates;
- RefPtr<DartApplicationLoader> m_loader;
+ typedef HashMap<Dart_Isolate, RefPtr<DartApplicationLoader> > DartApplicationLoaderMap;
+
+ DartApplicationLoaderMap m_loaders;
+ RefPtr<DartApplicationLoader> m_mainLoader;
+ HashMap<Dart_Isolate, String> m_isolateNames;
+ HashSet<String> m_usedNames;
ScriptStatesMap m_scriptStates;
« no previous file with comments | « Source/bindings/core/dart/DartApplicationLoader.h ('k') | Source/bindings/core/dart/DartController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698