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

Side by Side Diff: runtime/observatory/lib/src/elements/instance_ref.html

Issue 1159783004: Misc Observatory patches: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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
OLDNEW
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> 1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="curly_block.html"> 2 <link rel="import" href="curly_block.html">
3 <link rel="import" href="observatory_element.html"> 3 <link rel="import" href="observatory_element.html">
4 <link rel="import" href="service_ref.html"> 4 <link rel="import" href="service_ref.html">
5 5
6 <polymer-element name="instance-ref" extends="service-ref"> 6 <polymer-element name="instance-ref" extends="service-ref">
7 <template> 7 <template>
8 <link rel="stylesheet" href="css/shared.css"> 8 <link rel="stylesheet" href="css/shared.css">
9 <style> 9 <style>
10 .errorBox { 10 .errorBox {
(...skipping 24 matching lines...) Expand all
35 <template if="{{ ref.isAbstractType }}"> 35 <template if="{{ ref.isAbstractType }}">
36 <a on-click="{{ goto }}" _href="{{ url }}">{{ ref.name }}</a> 36 <a on-click="{{ goto }}" _href="{{ url }}">{{ ref.name }}</a>
37 </template> 37 </template>
38 38
39 <template if="{{ ref.isClosure }}"> 39 <template if="{{ ref.isClosure }}">
40 <a on-click="{{ goto }}" _href="{{ url }}"> 40 <a on-click="{{ goto }}" _href="{{ url }}">
41 {{ ref.function.qualifiedName }} 41 {{ ref.function.qualifiedName }}
42 </a> 42 </a>
43 </template> 43 </template>
44 44
45 <template if="{{ ref.isPlainInstance }}"> 45 <!-- TODO(rmacnak): Specialized view for maps. -->
46 <template if="{{ ref.isPlainInstance || ref.isMap }}">
46 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.clazz.name }}</em> </a> 47 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.clazz.name }}</em> </a>
47 <curly-block callback="{{ expander() }}"> 48 <curly-block callback="{{ expander() }}">
48 <div class="memberList"> 49 <div class="memberList">
49 <template repeat="{{ field in ref.fields }}"> 50 <template repeat="{{ field in ref.fields }}">
50 <div class="memberItem"> 51 <div class="memberItem">
51 <div class="memberName"> 52 <div class="memberName">
52 {{ field['decl'].name }} 53 {{ field['decl'].name }}
53 </div> 54 </div>
54 <div class="memberValue"> 55 <div class="memberValue">
55 <any-service-ref ref="{{ field['value'] }}"></any-service-ref> 56 <any-service-ref ref="{{ field['value'] }}"></any-service-ref>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 </div> 108 </div>
108 </div> 109 </div>
109 </div> 110 </div>
110 </curly-block> 111 </curly-block>
111 </template> 112 </template>
112 </span> 113 </span>
113 </template> 114 </template>
114 </polymer-element> 115 </polymer-element>
115 116
116 <script type="application/dart" src="instance_ref.dart"></script> 117 <script type="application/dart" src="instance_ref.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/heap_snapshot.dart ('k') | runtime/observatory/lib/src/elements/instance_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698