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="observatory_element.html"> | 2 <link rel="import" href="observatory_element.html"> |
3 | 3 |
4 <polymer-element name="service-ref" extends="observatory-element"> | 4 <polymer-element name="service-ref" extends="observatory-element"> |
5 </polymer-element> | 5 </polymer-element> |
6 | 6 |
7 <polymer-element name="any-service-ref" extends="observatory-element"> | 7 <polymer-element name="any-service-ref" extends="observatory-element"> |
8 </polymer-element> | 8 </polymer-element> |
9 | 9 |
10 <polymer-element name="object-ref" extends="service-ref"> | 10 <polymer-element name="object-ref" extends="service-ref"> |
11 <template><link rel="stylesheet" href="css/shared.css"> | 11 <template><link rel="stylesheet" href="css/shared.css"> |
12 | 12 |
13 <template if="{{ ref.isObjectPool }}"> | 13 <template if="{{ ref.isObjectPool }}"> |
14 <a on-click="{{ goto }}" _href="{{ url }}"> | 14 <a on-click="{{ goto }}" _href="{{ url }}"> |
15 <em>{{ ref.vmType }}</em> ({{ ref.length }}) | 15 <em>{{ ref.vmType }}</em> ({{ ref.length }}) |
16 </a> | 16 </a> |
17 </template> | 17 </template> |
18 <template if="{{ ref.isICData }}"> | 18 <template if="{{ ref.isICData || ref.isMegamorphicCache }}"> |
19 <a on-click="{{ goto }}" _href="{{ url }}"> | 19 <a on-click="{{ goto }}" _href="{{ url }}"> |
20 <em>{{ ref.vmType }}</em> ({{ ref.selector }}) | 20 <em>{{ ref.vmType }}</em> ({{ ref.selector }}) |
21 </a> | 21 </a> |
22 </template> | 22 </template> |
23 <template if="{{ ref.isInstructions }}"> | 23 <template if="{{ ref.isInstructions }}"> |
24 <a on-click="{{ goto }}" _href="{{ url }}"> | 24 <a on-click="{{ goto }}" _href="{{ url }}"> |
25 <em>{{ ref.vmType }}</em> ({{ ref.code.name }}) | 25 <em>{{ ref.vmType }}</em> ({{ ref.code.name }}) |
26 </a> | 26 </a> |
27 </template> | 27 </template> |
28 <template if="{{ !(ref.isObjectPool || ref.isICData || ref.isInstructions) }
}"> | 28 <template if="{{ !(ref.isObjectPool || ref.isICData || ref.isMegamorphicCach
e || ref.isInstructions) }}"> |
29 <template if="{{ nameIsEmpty }}"> | 29 <template if="{{ nameIsEmpty }}"> |
30 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.vmType }}</em></a> | 30 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.vmType }}</em></a> |
31 </template> | 31 </template> |
32 <template if="{{ !nameIsEmpty }}"> | 32 <template if="{{ !nameIsEmpty }}"> |
33 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ name }}</em></a> | 33 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ name }}</em></a> |
34 </template> | 34 </template> |
35 </template> | 35 </template> |
36 </template> | 36 </template> |
37 </polymer-element> | 37 </polymer-element> |
38 | 38 |
39 <script type="application/dart" src="service_ref.dart"></script> | 39 <script type="application/dart" src="service_ref.dart"></script> |
OLD | NEW |