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

Side by Side Diff: runtime/bin/vmservice/observatory/lib/src/elements/class_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="curly_block.html"> 2 <link rel="import" href="curly_block.html">
3 <link rel="import" href="eval_box.html"> 3 <link rel="import" href="eval_box.html">
4 <link rel="import" href="eval_link.html"> 4 <link rel="import" href="eval_link.html">
5 <link rel="import" href="field_ref.html"> 5 <link rel="import" href="field_ref.html">
6 <link rel="import" href="function_ref.html"> 6 <link rel="import" href="function_ref.html">
7 <link rel="import" href="instance_ref.html"> 7 <link rel="import" href="instance_ref.html">
8 <link rel="import" href="library_ref.html"> 8 <link rel="import" href="library_ref.html">
9 <link rel="import" href="nav_bar.html"> 9 <link rel="import" href="nav_bar.html">
10 <link rel="import" href="observatory_element.html"> 10 <link rel="import" href="observatory_element.html">
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 <template if="{{ cls.fields.isNotEmpty }}"> 101 <template if="{{ cls.fields.isNotEmpty }}">
102 fields ({{ cls.fields.length }}) 102 fields ({{ cls.fields.length }})
103 <curly-block expand="{{ cls.fields.length <= 8 }}"> 103 <curly-block expand="{{ cls.fields.length <= 8 }}">
104 <div class="memberList"> 104 <div class="memberList">
105 <template repeat="{{ field in cls.fields }}"> 105 <template repeat="{{ field in cls.fields }}">
106 <div class="memberItem"> 106 <div class="memberItem">
107 <div class="memberName"> 107 <div class="memberName">
108 <field-ref ref="{{ field }}"></field-ref> 108 <field-ref ref="{{ field }}"></field-ref>
109 </div> 109 </div>
110 <div class="memberValue"> 110 <div class="memberValue">
111 <template if="{{ field['value'] != null }}"> 111 <template if="{{ field.value != null }}">
112 <any-service-ref ref="{{ field['value'] }}"></any-service-re f> 112 <any-service-ref ref="{{ field.value }}"></any-service-ref>
113 </template> 113 </template>
114 </div> 114 </div>
115 </div> 115 </div>
116 </template> 116 </template>
117 </div> 117 </div>
118 </curly-block><br><br> 118 </curly-block><br><br>
119 </template> 119 </template>
120 120
121 <template if="{{ cls.functions.isNotEmpty }}"> 121 <template if="{{ cls.functions.isNotEmpty }}">
122 functions ({{ cls.functions.length }}) 122 functions ({{ cls.functions.length }})
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 startPos="{{ cls.tokenPos }}" 192 startPos="{{ cls.tokenPos }}"
193 endPos="{{ cls.endTokenPos }}"> 193 endPos="{{ cls.endTokenPos }}">
194 </script-inset> 194 </script-inset>
195 195
196 <br><br><br><br> 196 <br><br><br><br>
197 <br><br><br><br> 197 <br><br><br><br>
198 </template> 198 </template>
199 </polymer-element> 199 </polymer-element>
200 200
201 <script type="application/dart" src="class_view.dart"></script> 201 <script type="application/dart" src="class_view.dart"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698