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

Unified Diff: runtime/bin/vmservice/client/packages/observatory/src/observatory_elements/error_view.dart

Issue 24844002: Initial GUI for VM service (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/bin/vmservice/client/packages/observatory/src/observatory_elements/error_view.dart
diff --git a/runtime/bin/vmservice/client/packages/observatory/src/observatory_elements/navigation_bar.dart b/runtime/bin/vmservice/client/packages/observatory/src/observatory_elements/error_view.dart
similarity index 50%
copy from runtime/bin/vmservice/client/packages/observatory/src/observatory_elements/navigation_bar.dart
copy to runtime/bin/vmservice/client/packages/observatory/src/observatory_elements/error_view.dart
index 6206b7966883d5ea710084f64f82b25e20264900..6dee32afa3f94855f68a85bd65154b8d9a00b08f 100644
--- a/runtime/bin/vmservice/client/packages/observatory/src/observatory_elements/navigation_bar.dart
+++ b/runtime/bin/vmservice/client/packages/observatory/src/observatory_elements/error_view.dart
@@ -2,11 +2,13 @@
// 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 navigation_bar_element;
+library error_view_element;
-import 'observatory_element.dart';
import 'package:polymer/polymer.dart';
+import 'observatory_element.dart';
-@CustomTag('navigation-bar')
-class NavigationBarElement extends ObservatoryElement {
+/// Displays an Error response.
+@CustomTag('error-view')
+class ErrorViewElement extends ObservatoryElement {
+ @published String get error => __$error; String __$error = ''; set error(String value) { __$error = notifyPropertyChange(#error, __$error, value); }
}

Powered by Google App Engine
This is Rietveld 408576698