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

Unified Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/source_view.dart

Issue 59283007: List scripts in library and display script source (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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/bin/vmservice/client/lib/src/observatory_elements/source_view.dart
diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/error_view.dart b/runtime/bin/vmservice/client/lib/src/observatory_elements/source_view.dart
similarity index 57%
copy from runtime/bin/vmservice/client/lib/src/observatory_elements/error_view.dart
copy to runtime/bin/vmservice/client/lib/src/observatory_elements/source_view.dart
index 33c40890379c0e3bb7bf02064bbfcf8b2478b8ec..4065aed775476e56c289b6d5da0547a34014fccb 100644
--- a/runtime/bin/vmservice/client/lib/src/observatory_elements/error_view.dart
+++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/source_view.dart
@@ -2,16 +2,16 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library error_view_element;
+library source_view_element;
import 'package:polymer/polymer.dart';
+import 'package:observatory/observatory.dart';
import 'observatory_element.dart';
/// Displays an Error response.
-@CustomTag('error-view')
-class ErrorViewElement extends ObservatoryElement {
- @published String error = '';
- @published var error_obj;
+@CustomTag('source-view')
+class SourceViewElement extends ObservatoryElement {
+ @published ScriptSource source;
- ErrorViewElement.created() : super.created();
+ SourceViewElement.created() : super.created();
}

Powered by Google App Engine
This is Rietveld 408576698