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

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

Issue 350403005: Include parent field/list index in retaining path. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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="instance_ref.html"> 8 <link rel="import" href="instance_ref.html">
9 <link rel="import" href="observatory_element.html"> 9 <link rel="import" href="observatory_element.html">
10 <link rel="import" href="nav_bar.html"> 10 <link rel="import" href="nav_bar.html">
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 label="[find]" 74 label="[find]"
75 expr="10"> 75 expr="10">
76 </eval-link> 76 </eval-link>
77 </template> 77 </template>
78 <template if="{{ path != null }}"> 78 <template if="{{ path != null }}">
79 <template repeat="{{ element in path['elements'] }}"> 79 <template repeat="{{ element in path['elements'] }}">
80 <div class="memberItem"> 80 <div class="memberItem">
81 <div class="memberName">[{{ element['index']}}]</div> 81 <div class="memberName">[{{ element['index']}}]</div>
82 <div class="memberValue"> 82 <div class="memberValue">
83 <instance-ref ref="{{ element['value'] }}"></instance-ref> 83 <instance-ref ref="{{ element['value'] }}"></instance-ref>
84 <template if="{{ element['parentField'] != null }}">
85 in <field-ref ref="{{ element['parentField'] }}"></field-r ef>
86 </template>
87 <template if="{{ element['parentListIndex'] != null }}">
88 at list index {{ element['parentListIndex'] }} of
89 </template>
84 </div> 90 </div>
85 </div> 91 </div>
86 </template> 92 </template>
87 <template if="{{ path['length'] > path['elements'].length }}"> 93 <template if="{{ path['length'] > path['elements'].length }}">
88 showing {{ path['elements'].length }} of {{ path['length'] }} 94 showing {{ path['elements'].length }} of {{ path['length'] }}
89 <eval-link 95 <eval-link
90 callback="{{ retainingPath }}" 96 callback="{{ retainingPath }}"
91 label="[find more]" 97 label="[find more]"
92 expr="{{ path['elements'].length * 2 }}"> 98 expr="{{ path['elements'].length * 2 }}">
93 </eval-link> 99 </eval-link>
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 <eval-box callback="{{ eval }}"></eval-box> 190 <eval-box callback="{{ eval }}"></eval-box>
185 </div> 191 </div>
186 <br><br><br><br> 192 <br><br><br><br>
187 <br><br><br><br> 193 <br><br><br><br>
188 194
189 </template> 195 </template>
190 </template> 196 </template>
191 </polymer-element> 197 </polymer-element>
192 198
193 <script type="application/dart" src="instance_view.dart"></script> 199 <script type="application/dart" src="instance_view.dart"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698