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

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

Issue 215213003: Rework the <field-view> page. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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 <head> 1 <head>
2 <link rel="import" href="instance_ref.html"> 2 <link rel="import" href="instance_ref.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 </head> 5 </head>
6 <polymer-element name="field-ref" extends="service-ref"> 6 <polymer-element name="field-ref" extends="service-ref">
7 <template> 7 <template>
8 <div> 8 <div>
9 <template if="{{ ref['final'] }}"> final </template> 9 <template if="{{ ref['static'] }}">static</template>
10 <template if="{{ ref['const'] }}"> const </template> 10 <template if="{{ ref['final'] }}">final</template>
11 <template if="{{ (ref['declared_type']['name'] == 'dynamic' && !ref['final'] & & !ref['const']) }}"> 11 <template if="{{ ref['const'] }}">const</template>
12 var 12 <template if="{{ (ref['declared_type']['name'] == 'dynamic' &&
13 !ref['final'] && !ref['const']) }}">
14 var
15 </template>
16 <template if="{{ (ref['declared_type']['name'] != 'dynamic') }}">
17 <instance-ref ref="{{ ref['declared_type'] }}"></instance-ref>
18 </template>
19 <a title="{{ hoverText }}" href="{{ url }}">{{ name }}</a>
20 </div>
13 </template> 21 </template>
14 <template if="{{ (ref['declared_type']['name'] != 'dynamic') }}"> 22 <script type="application/dart" src="field_ref.dart"></script>
15 <instance-ref ref="{{ ref['declared_type'] }}"></instance-ref> 23 </polymer-element>
16 </template>
17 <a title="{{ hoverText }}" href="{{ url }}">{{ name }}</a>
18 </div>
19 </template> <script type="application/dart" src="field_ref.dart"></script> </pol ymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698