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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html><html><head> 1 <!DOCTYPE html><html><head>
2 2
3 3
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <link type="text/css" rel="stylesheet" href="bootstrap_css/css/bootstrap.min.c ss"> 5 <link type="text/css" rel="stylesheet" href="bootstrap_css/css/bootstrap.min.c ss">
6 6
7 <title>Dart VM Observatory</title> 7 <title>Dart VM Observatory</title>
8 <script type="text/javascript" src="https://www.google.com/jsapi"></script> 8 <script type="text/javascript" src="https://www.google.com/jsapi"></script>
9 9
10 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 <template if="{{ isNullRef(ref['type']) }}"> 92 <template if="{{ isNullRef(ref['type']) }}">
93 {{ name }} 93 {{ name }}
94 </template> 94 </template>
95 95
96 <template if="{{ (isStringRef(ref['type']) || 96 <template if="{{ (isStringRef(ref['type']) ||
97 isBoolRef(ref['type']) || 97 isBoolRef(ref['type']) ||
98 isIntRef(ref['type'])) }}"> 98 isIntRef(ref['type'])) }}">
99 <a href="{{ url }}">{{ name }}</a> 99 <a href="{{ url }}">{{ name }}</a>
100 </template> 100 </template>
101 101
102 <template if="{{ isClosureRef(ref['type']) }}">
103 <a href="{{ url }}">
104 {{ ref['closureFunc']['user_name'] }}
105 </a>
106 </template>
107
102 <template if="{{ isInstanceRef(ref['type']) }}"> 108 <template if="{{ isInstanceRef(ref['type']) }}">
103 <a href="{{ url }}"><em>{{ ref['class']['user_name'] }}</em></a> { 109 <a href="{{ url }}"><em>{{ ref['class']['user_name'] }}</em></a> {
104 <a on-click="{{ toggleExpand }}">...</a> 110 <a on-click="{{ toggleExpand }}">...</a>
105 <template if="{{ expanded }}"> 111 <template if="{{ expanded }}">
106 <table class="memberList"> 112 <table class="memberList">
107 <tbody><tr template="" repeat="{{ field in ref['fields'] }}"> 113 <tbody><tr template="" repeat="{{ field in ref['fields'] }}">
108 114
109 <td class="member">{{ field['decl']['user_name'] }}</td> 115 <td class="member">{{ field['decl']['user_name'] }}</td>
110 <td class="member"> 116 <td class="member">
111 <instance-ref app="{{ app }}" ref="{{ field['value'] }}"></insta nce-ref> 117 <instance-ref app="{{ app }}" ref="{{ field['value'] }}"></insta nce-ref>
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 </template> 770 </template>
765 <template if="{{ messageType == 'Library' }}"> 771 <template if="{{ messageType == 'Library' }}">
766 <library-view app="{{ app }}" library="{{ message }}"></library-view> 772 <library-view app="{{ app }}" library="{{ message }}"></library-view>
767 </template> 773 </template>
768 <template if="{{ messageType == 'Class' }}"> 774 <template if="{{ messageType == 'Class' }}">
769 <class-view app="{{ app }}" cls="{{ message }}"></class-view> 775 <class-view app="{{ app }}" cls="{{ message }}"></class-view>
770 </template> 776 </template>
771 <template if="{{ messageType == 'Field' }}"> 777 <template if="{{ messageType == 'Field' }}">
772 <field-view app="{{ app }}" field="{{ message }}"></field-view> 778 <field-view app="{{ app }}" field="{{ message }}"></field-view>
773 </template> 779 </template>
780 <template if="{{ messageType == 'Closure' }}">
781 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view>
782 </template>
774 <template if="{{ messageType == 'Instance' }}"> 783 <template if="{{ messageType == 'Instance' }}">
775 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view> 784 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view>
776 </template> 785 </template>
777 <template if="{{ messageType == 'Array' }}"> 786 <template if="{{ messageType == 'Array' }}">
778 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view> 787 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view>
779 </template> 788 </template>
780 <template if="{{ messageType == 'GrowableObjectArray' }}"> 789 <template if="{{ messageType == 'GrowableObjectArray' }}">
781 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view> 790 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view>
782 </template> 791 </template>
783 <template if="{{ messageType == 'String' }}"> 792 <template if="{{ messageType == 'String' }}">
(...skipping 16 matching lines...) Expand all
800 </template> 809 </template>
801 <template if="{{ messageType == 'AllocationProfile' }}"> 810 <template if="{{ messageType == 'AllocationProfile' }}">
802 <heap-profile app="{{ app }}" profile="{{ message }}"></heap-profile> 811 <heap-profile app="{{ app }}" profile="{{ message }}"></heap-profile>
803 </template> 812 </template>
804 <template if="{{ messageType == 'CPU' }}"> 813 <template if="{{ messageType == 'CPU' }}">
805 <json-view json="{{ message }}"></json-view> 814 <json-view json="{{ message }}"></json-view>
806 </template> 815 </template>
807 <!-- Add new views and message types in the future here. --> 816 <!-- Add new views and message types in the future here. -->
808 </template> 817 </template>
809 818
810 </polymer-element><polymer-element name="navigation-bar-isolate" extends="observ atory-element"> 819 </polymer-element>
820 <polymer-element name="navigation-bar-isolate" extends="observatory-element">
811 <template> 821 <template>
812 <ul class="nav navbar-nav"> 822 <ul class="nav navbar-nav">
813 <li><a href="{{ currentIsolateLink('') }}"> {{currentIsolateName()}}</a> </li> 823 <li><a href="{{ currentIsolateLink('') }}"> {{currentIsolateName()}}</a> </li>
814 <template repeat="{{link in links}}"> 824 <template repeat="{{link in links}}">
815 <li><a href="{{ currentIsolateLink(link) }}">{{ link }}</a></li> 825 <li><a href="{{ currentIsolateLink(link) }}">{{ link }}</a></li>
816 </template> 826 </template>
817 </ul> 827 </ul>
818 </template> 828 </template>
819 829
820 </polymer-element><polymer-element name="navigation-bar" extends="observatory-el ement"> 830 </polymer-element><polymer-element name="navigation-bar" extends="observatory-el ement">
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 </template> 889 </template>
880 <template if="{{ app.locationManager.profile == false }}"> 890 <template if="{{ app.locationManager.profile == false }}">
881 <response-viewer app="{{ app }}"></response-viewer> 891 <response-viewer app="{{ app }}"></response-viewer>
882 </template> 892 </template>
883 </template> 893 </template>
884 894
885 </polymer-element> 895 </polymer-element>
886 <observatory-application></observatory-application> 896 <observatory-application></observatory-application>
887 897
888 </body></html> 898 </body></html>
OLDNEW
« 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