OLD | NEW |
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 <template if="{{ cls.name != cls.vmName }}"> | 85 <template if="{{ cls.name != cls.vmName }}"> |
86 <div class="memberItem"> | 86 <div class="memberItem"> |
87 <div class="memberName">vm name</div> | 87 <div class="memberName">vm name</div> |
88 <div class="memberValue">{{ cls.vmName }}</div> | 88 <div class="memberValue">{{ cls.vmName }}</div> |
89 </div> | 89 </div> |
90 </template> | 90 </template> |
91 </div> | 91 </div> |
92 </div> | 92 </div> |
93 | 93 |
94 <template if="{{ cls.error != null }}"> | 94 <template if="{{ cls.error != null }}"> |
95 <!-- TODO(turnidge): Don't use instance-ref for error display here --> | 95 <error-ref ref="{{ cls.error }}"></error> |
96 <instance-ref ref="{{ cls.error }}"></instance-ref> | |
97 </template> | 96 </template> |
98 | 97 |
99 <hr> | 98 <hr> |
100 | 99 |
101 <div class="content"> | 100 <div class="content"> |
102 <template if="{{ cls.fields.isNotEmpty }}"> | 101 <template if="{{ cls.fields.isNotEmpty }}"> |
103 fields ({{ cls.fields.length }}) | 102 fields ({{ cls.fields.length }}) |
104 <curly-block expand="{{ cls.fields.length <= 8 }}"> | 103 <curly-block expand="{{ cls.fields.length <= 8 }}"> |
105 <div class="memberList"> | 104 <div class="memberList"> |
106 <template repeat="{{ field in cls.fields }}"> | 105 <template repeat="{{ field in cls.fields }}"> |
107 <div class="memberItem"> | 106 <div class="memberItem"> |
108 <div class="memberName"> | 107 <div class="memberName"> |
109 <field-ref ref="{{ field }}"></field-ref> | 108 <field-ref ref="{{ field }}"></field-ref> |
110 </div> | 109 </div> |
111 <div class="memberValue"> | 110 <div class="memberValue"> |
112 <template if="{{ field['value'] != null }}"> | 111 <template if="{{ field['value'] != null }}"> |
113 <instance-ref ref="{{ field['value'] }}"></instance-ref> | 112 <any-service-ref ref="{{ field['value'] }}"></any-service-re
f> |
114 </template> | 113 </template> |
115 </div> | 114 </div> |
116 </div> | 115 </div> |
117 </template> | 116 </template> |
118 </div> | 117 </div> |
119 </curly-block><br><br> | 118 </curly-block><br><br> |
120 </template> | 119 </template> |
121 | 120 |
122 <template if="{{ cls.functions.isNotEmpty }}"> | 121 <template if="{{ cls.functions.isNotEmpty }}"> |
123 functions ({{ cls.functions.length }}) | 122 functions ({{ cls.functions.length }}) |
(...skipping 24 matching lines...) Expand all Loading... |
148 <div class="memberName">strongly reachable</div> | 147 <div class="memberName">strongly reachable</div> |
149 <div class="memberValue"> | 148 <div class="memberValue"> |
150 <template if="{{ instances == null }}"> | 149 <template if="{{ instances == null }}"> |
151 <eval-link callback="{{ reachable }}" | 150 <eval-link callback="{{ reachable }}" |
152 label="[find]" | 151 label="[find]" |
153 expr="100"> | 152 expr="100"> |
154 </eval-link> | 153 </eval-link> |
155 </template> | 154 </template> |
156 <template if="{{ instances != null }}"> | 155 <template if="{{ instances != null }}"> |
157 sample | 156 sample |
158 <instance-ref ref="{{ instances['sample'] }}"></instance-ref> | 157 <any-service-ref ref="{{ instances['sample'] }}"></any-service-r
ef> |
159 <template if="{{ instances['totalCount'] > instances['sampleCoun
t'] }}"> | 158 <template if="{{ instances['totalCount'] > instances['sampleCoun
t'] }}"> |
160 <eval-link callback="{{ reachable }}" | 159 <eval-link callback="{{ reachable }}" |
161 label="[more]" | 160 label="[more]" |
162 expr="{{ instances['sampleCount'] * 2 }}"> | 161 expr="{{ instances['sampleCount'] * 2 }}"> |
163 </eval-link> | 162 </eval-link> |
164 </template> | 163 </template> |
165 of total {{ instances['totalCount'] }} | 164 of total {{ instances['totalCount'] }} |
166 </template> | 165 </template> |
167 </div> | 166 </div> |
168 </div> | 167 </div> |
(...skipping 24 matching lines...) Expand all Loading... |
193 startPos="{{ cls.tokenPos }}" | 192 startPos="{{ cls.tokenPos }}" |
194 endPos="{{ cls.endTokenPos }}"> | 193 endPos="{{ cls.endTokenPos }}"> |
195 </script-inset> | 194 </script-inset> |
196 | 195 |
197 <br><br><br><br> | 196 <br><br><br><br> |
198 <br><br><br><br> | 197 <br><br><br><br> |
199 </template> | 198 </template> |
200 </polymer-element> | 199 </polymer-element> |
201 | 200 |
202 <script type="application/dart" src="class_view.dart"></script> | 201 <script type="application/dart" src="class_view.dart"></script> |
OLD | NEW |