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

Unified Diff: runtime/observatory/lib/src/app/page.dart

Issue 2180803002: Converted Observatory vm-connect element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Renamed DumpRepository to CrashDumpRepository Created 4 years, 5 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
Index: runtime/observatory/lib/src/app/page.dart
diff --git a/runtime/observatory/lib/src/app/page.dart b/runtime/observatory/lib/src/app/page.dart
index 7f51a8ea2f0253d13b970f7048151736e327d7cf..0129c3483241971b0cf60005fb511c885deb1f34 100644
--- a/runtime/observatory/lib/src/app/page.dart
+++ b/runtime/observatory/lib/src/app/page.dart
@@ -18,7 +18,7 @@ abstract class Page extends Observable {
final ObservatoryApplication app;
final ObservableMap<String, String> internalArguments =
new ObservableMap<String, String>();
- @observable ObservatoryElement element;
+ @observable HtmlElement element;
Page(this.app);
@@ -370,7 +370,12 @@ class VMConnectPage extends Page {
void onInstall() {
if (element == null) {
- element = new Element.tag('vm-connect');
+ element = new VMConnectElement(
+ ObservatoryApplication.app.targets,
+ new CrashDumpRepositoryMock(
+ load: ObservatoryApplication.app.loadCrashDump),
+ ObservatoryApplication.app.notifications,
+ queue: ObservatoryApplication.app.queue);
}
assert(element != null);
}
« no previous file with comments | « runtime/observatory/lib/src/app/application.dart ('k') | runtime/observatory/lib/src/app/target_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698