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

Unified Diff: runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/instance_view.html

Issue 483103003: Incoming references service request and UI. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: build Created 6 years, 4 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/observatory/deployed/web/packages/observatory/src/elements/instance_view.html
diff --git a/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/instance_view.html b/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/instance_view.html
index c85d64f829e9e7f958e706ca176fb6c74354bdeb..1d7166c0f3d74764ec0ca0e43761295f863bb5f7 100644
--- a/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/instance_view.html
+++ b/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/instance_view.html
@@ -5,6 +5,7 @@
<link rel="import" href="eval_link.html">
<link rel="import" href="field_ref.html">
<link rel="import" href="function_ref.html">
+<link rel="import" href="inbound_reference.html">
<link rel="import" href="instance_ref.html">
<link rel="import" href="observatory_element.html">
<link rel="import" href="nav_bar.html">
@@ -80,12 +81,12 @@
<div class="memberItem">
<div class="memberName">[{{ element['index']}}]</div>
<div class="memberValue">
- <instance-ref ref="{{ element['value'] }}"></instance-ref>
+ <any-service-ref ref="{{ element['value'] }}"></any-service-ref>
<template if="{{ element['parentField'] != null }}">
- in <field-ref ref="{{ element['parentField'] }}"></field-ref>
+ in <field-ref ref="{{ element['parentField'] }}"></field-ref> of
</template>
<template if="{{ element['parentListIndex'] != null }}">
- at list index {{ element['parentListIndex'] }} of
+ in [{{ element['parentListIndex'] }}] of
</template>
</div>
</div>
@@ -101,6 +102,22 @@
</template>
</div>
</div>
+ <div class="memberItem">
+ <div class="memberName">inbound references</div>
+ <div class="memberValue">
+ <template if="{{ inboundReferences == null }}">
+ <eval-link callback="{{ fetchInboundReferences }}"
+ label="[find]"
+ expr="100">
+ </eval-link>
+ </template>
+ <template if="{{ inboundReferences != null }}">
+ <template repeat="{{ reference in inboundReferences['references'] }}">
+ <inbound-reference ref="{{ reference }}"></inbound-reference>
+ </template>
+ </template>
+ </div>
+ </div>
<template if="{{ instance['type_class'] != null }}">
<div class="memberItem">
<div class="memberName">type class</div>

Powered by Google App Engine
This is Rietveld 408576698