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

Unified Diff: runtime/observatory/lib/src/elements/library_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/library_ref_as_value.dart
diff --git a/runtime/observatory/lib/src/elements/library_ref_as_value.dart b/runtime/observatory/lib/src/elements/library_ref_as_value.dart
deleted file mode 100644
index 6de33130fdc180c7c5e047d819bcab1e318ebc7a..0000000000000000000000000000000000000000
--- a/runtime/observatory/lib/src/elements/library_ref_as_value.dart
+++ /dev/null
@@ -1,34 +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 library_ref_as_value_element;
-
-import 'package:observatory/service.dart';
-import 'package:polymer/polymer.dart';
-import 'service_ref.dart';
-import 'dart:async';
-
-@CustomTag('library-ref-as-value')
-class LibraryRefAsValueElement extends ServiceRefElement {
- LibraryRefAsValueElement.created() : super.created();
-
- String makeExpandKey(String key) {
- return '${expandKey}/${key}';
- }
-
- dynamic expander() {
- return expandEvent;
- }
-
- void expandEvent(bool expand, Function onDone) {
- if (expand) {
- Library lib = ref;
- lib.reload().then((result) {
- return Future.wait(lib.variables.map((field) => field.reload()));
- }).whenComplete(onDone);
- } else {
- onDone();
- }
- }
-}
« no previous file with comments | « runtime/observatory/lib/src/elements/library_ref.dart ('k') | runtime/observatory/lib/src/elements/library_ref_as_value.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698