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

Unified Diff: runtime/bin/vmservice/observatory/lib/src/elements/instance_ref.html

Issue 547703002: Rework how types work in the VM Service. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 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
« no previous file with comments | « no previous file | runtime/bin/vmservice/observatory/lib/src/elements/instance_view.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/observatory/lib/src/elements/instance_ref.html
diff --git a/runtime/bin/vmservice/observatory/lib/src/elements/instance_ref.html b/runtime/bin/vmservice/observatory/lib/src/elements/instance_ref.html
index 0c36ff752433b7ccf4c98f471b73a856f226d94a..72497e916224d2911c4bd95fad2120c76479f844 100644
--- a/runtime/bin/vmservice/observatory/lib/src/elements/instance_ref.html
+++ b/runtime/bin/vmservice/observatory/lib/src/elements/instance_ref.html
@@ -22,11 +22,12 @@
<div title="{{ hoverText }}">{{ ref.valueAsString }}</div>
</template>
- <template if="{{ ref.isString || ref.isBool || ref.isInt || ref.isDouble || ref.isNull }}">
+ <template if="{{ ref.isString || ref.isBool || ref.isInt ||
+ ref.isDouble || ref.isNull }}">
<a on-click="{{ goto }}" _href="{{ url }}">{{ ref.valueAsString }}</a>
</template>
- <template if="{{ ref.isType }}">
+ <template if="{{ ref.isAbstractType }}">
<a on-click="{{ goto }}" _href="{{ url }}">{{ ref.name }}</a>
</template>
@@ -37,7 +38,10 @@
</a>
</template>
- <template if="{{ ref.isInstance && !ref.isClosure }}">
+ <template if="{{ ref.type == 'Instance' &&
Cutch 2014/09/09 16:41:15 Can we pull this logic (ref.type == 'Instance') in
turnidge 2014/09/09 17:02:22 Added an isPlainInstance getter.
+ !ref.isClosure &&
+ !ref.isMirrorReference &&
+ !ref.isWeakProperty }}">
<a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.clazz.name }}</em></a>
<curly-block callback="{{ expander() }}">
<div class="memberList">
« no previous file with comments | « no previous file | runtime/bin/vmservice/observatory/lib/src/elements/instance_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698