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

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

Issue 1152753005: Service cleanups... (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update docs. Tweak TypeRef and BoundedType. 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 </div> 57 </div>
58 </template> 58 </template>
59 </div> 59 </div>
60 </curly-block> 60 </curly-block>
61 </template> 61 </template>
62 62
63 <template if="{{ ref.isList }}"> 63 <template if="{{ ref.isList }}">
64 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.clazz.name }}</em> ({{ ref.length }})</a> 64 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.clazz.name }}</em> ({{ ref.length }})</a>
65 <curly-block callback="{{ expander() }}"> 65 <curly-block callback="{{ expander() }}">
66 <div class="memberList"> 66 <div class="memberList">
67 <template repeat="{{ element in ref.elements }}"> 67 <template repeat="{{ index in ref.elements.asMap().keys }}">
68 <div class="memberItem"> 68 <div class="memberItem">
69 <div class="memberName">[{{ element['index']}}]</div> 69 <div class="memberName">[{{ index }}]</div>
70 <div class="memberValue"> 70 <div class="memberValue">
71 <any-service-ref ref="{{ element['value'] }}"></any-service-re f> 71 <any-service-ref ref="{{ ref.elements[index] }}">
72 </any-service-ref>
72 </div> 73 </div>
73 </div> 74 </div>
74 </template> 75 </template>
75 </div> 76 </div>
76 </curly-block> 77 </curly-block>
77 </template> 78 </template>
78 79
79 <template if="{{ ref.isMap }}"> 80 <template if="{{ ref.isMap }}">
80 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.clazz.name }}</em> ({{ ref.length }})</a> 81 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.clazz.name }}</em> ({{ ref.length }})</a>
81 <curly-block callback="{{ expander() }}"> 82 <curly-block callback="{{ expander() }}">
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 </div> 126 </div>
126 </div> 127 </div>
127 </div> 128 </div>
128 </curly-block> 129 </curly-block>
129 </template> 130 </template>
130 </span> 131 </span>
131 </template> 132 </template>
132 </polymer-element> 133 </polymer-element>
133 134
134 <script type="application/dart" src="instance_ref.dart"></script> 135 <script type="application/dart" src="instance_ref.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/context_view.html ('k') | runtime/observatory/lib/src/elements/instance_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698