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

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

Issue 2305693003: Converted Observatory json-view element (Closed)
Patch Set: Updated observatory_sources.gypi Created 4 years, 3 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 | « runtime/observatory/lib/elements.html ('k') | runtime/observatory/lib/src/app/page.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/app/application.dart
diff --git a/runtime/observatory/lib/src/app/application.dart b/runtime/observatory/lib/src/app/application.dart
index 1d13c9f19c26a616c56f81a99f9d985db7e5aa84..ea23d604fa59fd53017af2886c7d71028324b9b7 100644
--- a/runtime/observatory/lib/src/app/application.dart
+++ b/runtime/observatory/lib/src/app/application.dart
@@ -73,8 +73,6 @@ class ObservatoryApplication extends Observable {
@reflectable final ObservatoryApplicationElement rootElement;
- TraceViewElement _traceView = null;
-
@reflectable ServiceObject lastErrorOrException;
void _initOnce() {
@@ -139,9 +137,6 @@ class ObservatoryApplication extends Observable {
if (Tracer.current != null) {
Tracer.current.reset();
}
- if (_traceView != null) {
- _traceView.tracer = Tracer.current;
- }
for (var i = 0; i < _pageRegistry.length; i++) {
var page = _pageRegistry[i];
if (page.canVisit(uri)) {
@@ -175,11 +170,6 @@ class ObservatoryApplication extends Observable {
// Add new page.
rootElement.children.add(page.element);
- // Add tracing support.
- _traceView = new Element.tag('trace-view');
- _traceView.tracer = Tracer.current;
- rootElement.children.add(_traceView);
-
// Remember page.
currentPage = page;
}
« no previous file with comments | « runtime/observatory/lib/elements.html ('k') | runtime/observatory/lib/src/app/page.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698