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

Unified Diff: runtime/bin/vmservice/client/packages/observatory/src/observatory_elements/observatory_element.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/observatory_element.dart
diff --git a/runtime/bin/vmservice/client/packages/observatory/src/observatory_elements/observatory_element.dart b/runtime/bin/vmservice/client/packages/observatory/src/observatory_elements/observatory_element.dart
new file mode 100644
index 0000000000000000000000000000000000000000..55f92240b64f156cb56157ca684777182e8965e7
--- /dev/null
+++ b/runtime/bin/vmservice/client/packages/observatory/src/observatory_elements/observatory_element.dart
@@ -0,0 +1,17 @@
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
+// 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 observatory_element;
+
+import 'package:polymer/polymer.dart';
+import 'package:observatory/observatory.dart';
+export 'package:observatory/observatory.dart';
+
+/// Base class for all custom elements. Holds an observable
+/// [ObservableApplication] and applies author styles.
+@CustomTag('observatory-element')
+class ObservatoryElement extends PolymerElement {
+ @published ObservatoryApplication get app => __$app; ObservatoryApplication __$app; set app(ObservatoryApplication value) { __$app = notifyPropertyChange(#app, __$app, value); }
+ bool get applyAuthorStyles => true;
+}

Powered by Google App Engine
This is Rietveld 408576698