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

Unified Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/instance_ref.html

Issue 98253009: Refactor VM service IDs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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/lib/src/observatory_elements/instance_ref.html
diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/instance_ref.html b/runtime/bin/vmservice/client/lib/src/observatory_elements/instance_ref.html
index d9abb4faecf6d773af61330044c6fcba0370f40c..10adb53269a98b65eb6f2413e1ad1fdaeeed1ba4 100644
--- a/runtime/bin/vmservice/client/lib/src/observatory_elements/instance_ref.html
+++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/instance_ref.html
@@ -1,16 +1,17 @@
<head>
<link rel="import" href="observatory_element.html">
+<link rel="import" href="service_ref.html">
</head>
-<polymer-element name="instance-ref" extends="observatory-element">
+<polymer-element name="instance-ref" extends="service-ref">
<template>
<div>
- <template if="{{ (instance['type'] == 'null') }}">
+ <template if="{{ (ref['type'] == 'null') }}">
{{ "null" }}
</template>
- <template if="{{ (instance['type'] != 'null') }}">
- <a href="{{ app.locationManager.currentIsolateObjectLink(instance['id'])}}">
- {{ instance['preview'] }}
- </a>
+ <template if="{{ (ref['type'] != 'null') }}">
+ <a href="{{ url }}">{{ name }} </a>
</template>
</div>
-</template> <script type="application/dart" src="instance_ref.dart"></script> </polymer-element>
+</template>
+<script type="application/dart" src="instance_ref.dart"></script>
+</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698