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

Unified Diff: runtime/observatory/lib/src/elements/class_ref_as_value.dart

Issue 2310003004: Removed polymer & mirror from Observatory (Closed)
Patch Set: Fixed crash in heap-map page 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
Index: runtime/observatory/lib/src/elements/class_ref_as_value.dart
diff --git a/runtime/observatory/lib/src/elements/class_ref_as_value.dart b/runtime/observatory/lib/src/elements/class_ref_as_value.dart
deleted file mode 100644
index 7e129f889149147e1cde68f61d73e6571caee33d..0000000000000000000000000000000000000000
--- a/runtime/observatory/lib/src/elements/class_ref_as_value.dart
+++ /dev/null
@@ -1,35 +0,0 @@
-// 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 class_ref_as_value_element;
-
-import 'package:observatory/service.dart';
-import 'package:polymer/polymer.dart';
-import 'service_ref.dart';
-import 'dart:async';
-
-@CustomTag('class-ref-as-value')
-class ClassRefAsValueElement extends ServiceRefElement {
-
- ClassRefAsValueElement.created() : super.created();
-
- String makeExpandKey(String key) {
- return '${expandKey}/${key}';
- }
-
- dynamic expander() {
- return expandEvent;
- }
-
- void expandEvent(bool expand, Function onDone) {
- if (expand) {
- Class cls = ref;
- cls.reload().then((result) {
- return Future.wait(cls.fields.map((field) => field.reload()));
- }).whenComplete(onDone);
- } else {
- onDone();
- }
- }
-}
« no previous file with comments | « runtime/observatory/lib/src/elements/class_ref.dart ('k') | runtime/observatory/lib/src/elements/class_ref_as_value.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698