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

Side by Side Diff: runtime/bin/vmservice/observatory/lib/src/elements/instance_view.html

Issue 561053003: Give fields a model class in the service library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: build 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> 1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="class_ref.html"> 2 <link rel="import" href="class_ref.html">
3 <link rel="import" href="error_view.html"> 3 <link rel="import" href="error_view.html">
4 <link rel="import" href="eval_box.html"> 4 <link rel="import" href="eval_box.html">
5 <link rel="import" href="eval_link.html"> 5 <link rel="import" href="eval_link.html">
6 <link rel="import" href="field_ref.html"> 6 <link rel="import" href="field_ref.html">
7 <link rel="import" href="function_ref.html"> 7 <link rel="import" href="function_ref.html">
8 <link rel="import" href="inbound_reference.html"> 8 <link rel="import" href="inbound_reference.html">
9 <link rel="import" href="instance_ref.html"> 9 <link rel="import" href="instance_ref.html">
10 <link rel="import" href="observatory_element.html"> 10 <link rel="import" href="observatory_element.html">
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 <template if="{{ instance.fields.isNotEmpty }}"> 142 <template if="{{ instance.fields.isNotEmpty }}">
143 fields ({{ instance.fields.length }}) 143 fields ({{ instance.fields.length }})
144 <curly-block expand="{{ instance.fields.length <= 8 }}"> 144 <curly-block expand="{{ instance.fields.length <= 8 }}">
145 <div class="memberList"> 145 <div class="memberList">
146 <template repeat="{{ field in instance.fields }}"> 146 <template repeat="{{ field in instance.fields }}">
147 <div class="memberItem"> 147 <div class="memberItem">
148 <div class="memberName"> 148 <div class="memberName">
149 <field-ref ref="{{ field['decl'] }}"></field-ref> 149 <field-ref ref="{{ field['decl'] }}"></field-ref>
150 </div> 150 </div>
151 <div class="memberValue"> 151 <div class="memberValue">
152 <any-service-ref ref="{{ field['value'] }}"></any-service-re f> 152 <any-service-ref ref="{{ field.value }}"></any-service-ref>
153 </div> 153 </div>
154 </div> 154 </div>
155 </template> 155 </template>
156 </div> 156 </div>
157 </curly-block><br><br> 157 </curly-block><br><br>
158 </template> 158 </template>
159 159
160 <template if="{{ instance.elements.isNotEmpty }}"> 160 <template if="{{ instance.elements.isNotEmpty }}">
161 elements ({{ instance.elements.length }}) 161 elements ({{ instance.elements.length }})
162 <curly-block expand="{{ instance.elements.length <= 8 }}"> 162 <curly-block expand="{{ instance.elements.length <= 8 }}">
(...skipping 18 matching lines...) Expand all
181 </div> 181 </div>
182 182
183 <br><br><br><br> 183 <br><br><br><br>
184 <br><br><br><br> 184 <br><br><br><br>
185 185
186 </template> 186 </template>
187 </template> 187 </template>
188 </polymer-element> 188 </polymer-element>
189 189
190 <script type="application/dart" src="instance_view.dart"></script> 190 <script type="application/dart" src="instance_view.dart"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698