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

Unified Diff: runtime/bin/vmservice/client/packages/observatory/src/observatory_elements/observatory_application.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_application.dart
diff --git a/runtime/bin/vmservice/client/packages/observatory/src/observatory_elements/observatory_application.dart b/runtime/bin/vmservice/client/packages/observatory/src/observatory_elements/observatory_application.dart
new file mode 100644
index 0000000000000000000000000000000000000000..dfafcbd94a25a4326582ed2a1c512a8edb0bfbac
--- /dev/null
+++ b/runtime/bin/vmservice/client/packages/observatory/src/observatory_elements/observatory_application.dart
@@ -0,0 +1,20 @@
+// 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_application_element;
+
+import 'observatory_element.dart';
+import 'package:observatory/observatory.dart';
+import 'package:polymer/polymer.dart';
+
+/// Main application tag. Responsible for instantiating an instance of
+/// [ObservatoryApplication] which is passed declaratively to all child
+/// elements.
+@CustomTag('observatory-application')
+class ObservatoryApplicationElement extends ObservatoryElement {
+ void created() {
+ super.created();
+ app = new ObservatoryApplication();
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698