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

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

Issue 2005983002: Make the object store visible in Observatory. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add missing files Created 4 years, 7 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/objectstore_ref.dart
diff --git a/runtime/observatory/lib/src/elements/field_view.dart b/runtime/observatory/lib/src/elements/objectstore_ref.dart
similarity index 54%
copy from runtime/observatory/lib/src/elements/field_view.dart
copy to runtime/observatory/lib/src/elements/objectstore_ref.dart
index 234336d0782d03471c006936c6d9bec293af45c6..65dd6eb64fbefc7fa9ec7153d65a3a7c5e6f78b8 100644
--- a/runtime/observatory/lib/src/elements/field_view.dart
+++ b/runtime/observatory/lib/src/elements/objectstore_ref.dart
@@ -2,19 +2,15 @@
// 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 field_view_element;
+library objectstore_ref_element;
-import 'dart:async';
-import 'observatory_element.dart';
import 'package:observatory/service.dart';
import 'package:polymer/polymer.dart';
+import 'service_ref.dart';
+import 'dart:async';
-@CustomTag('field-view')
-class FieldViewElement extends ObservatoryElement {
- @published Field field;
- FieldViewElement.created() : super.created();
+@CustomTag('objectstore-ref')
+class ObjectStoreRefElement extends ServiceRefElement {
- Future refresh() {
- return field.reload();
- }
+ ObjectStoreRefElement.created() : super.created();
}
« no previous file with comments | « runtime/observatory/lib/src/elements/isolate_view.html ('k') | runtime/observatory/lib/src/elements/objectstore_ref.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698