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

Unified Diff: runtime/bin/vmservice/client/deployed/web/index.html

Issue 167713002: Improved how closures are displayed by <instance-ref>. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js Created 6 years, 10 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/client/deployed/web/index.html_bootstrap.dart.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/client/deployed/web/index.html
diff --git a/runtime/bin/vmservice/client/deployed/web/index.html b/runtime/bin/vmservice/client/deployed/web/index.html
index fd0d1969e52bfba24e4e2e90b60e287bf1b325dd..64316ded4c1cc8be9a19713f04c0d6c9fac1ab8b 100644
--- a/runtime/bin/vmservice/client/deployed/web/index.html
+++ b/runtime/bin/vmservice/client/deployed/web/index.html
@@ -99,6 +99,12 @@
<a href="{{ url }}">{{ name }}</a>
</template>
+ <template if="{{ isClosureRef(ref['type']) }}">
+ <a href="{{ url }}">
+ {{ ref['closureFunc']['user_name'] }}
+ </a>
+ </template>
+
<template if="{{ isInstanceRef(ref['type']) }}">
<a href="{{ url }}"><em>{{ ref['class']['user_name'] }}</em></a> {
<a on-click="{{ toggleExpand }}">...</a>
@@ -771,6 +777,9 @@
<template if="{{ messageType == 'Field' }}">
<field-view app="{{ app }}" field="{{ message }}"></field-view>
</template>
+ <template if="{{ messageType == 'Closure' }}">
+ <instance-view app="{{ app }}" instance="{{ message }}"></instance-view>
+ </template>
<template if="{{ messageType == 'Instance' }}">
<instance-view app="{{ app }}" instance="{{ message }}"></instance-view>
</template>
@@ -807,7 +816,8 @@
<!-- Add new views and message types in the future here. -->
</template>
-</polymer-element><polymer-element name="navigation-bar-isolate" extends="observatory-element">
+</polymer-element>
+<polymer-element name="navigation-bar-isolate" extends="observatory-element">
<template>
<ul class="nav navbar-nav">
<li><a href="{{ currentIsolateLink('') }}"> {{currentIsolateName()}}</a></li>
« no previous file with comments | « no previous file | runtime/bin/vmservice/client/deployed/web/index.html_bootstrap.dart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698