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="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="field_ref.html"> | 4 <link rel="import" href="field_ref.html"> |
5 <link rel="import" href="function_ref.html"> | 5 <link rel="import" href="function_ref.html"> |
6 <link rel="import" href="inbound_reference.html"> | 6 <link rel="import" href="inbound_reference.html"> |
7 <link rel="import" href="instance_ref.html"> | 7 <link rel="import" href="instance_ref.html"> |
8 <link rel="import" href="observatory_element.html"> | 8 <link rel="import" href="observatory_element.html"> |
9 <link rel="import" href="object_common.html"> | 9 <link rel="import" href="object_common.html"> |
10 <link rel="import" href="nav_bar.html"> | 10 <link rel="import" href="nav_bar.html"> |
11 <link rel="import" href="eval_link.html"> | 11 <link rel="import" href="eval_link.html"> |
12 | 12 |
13 <polymer-element name="objectpool-view" extends="observatory-element"> | 13 <polymer-element name="objectpool-view" extends="observatory-element"> |
14 <template> | 14 <template> |
15 <link rel="stylesheet" href="css/shared.css"> | 15 <link rel="stylesheet" href="css/shared.css"> |
16 <nav-bar> | 16 <nav-bar> |
17 <top-nav-menu></top-nav-menu> | 17 <top-nav-menu></top-nav-menu> |
18 <vm-nav-menu vm="{{ pool.isolate.vm }}"></vm-nav-menu> | 18 <vm-nav-menu vm="{{ pool.isolate.vm }}"></vm-nav-menu> |
19 <isolate-nav-menu isolate="{{ pool.isolate }}"></isolate-nav-menu> | 19 <isolate-nav-menu isolate="{{ pool.isolate }}"></isolate-nav-menu> |
20 <nav-menu link="." anchor="object" last="{{ true }}"></nav-menu> | 20 <nav-menu link="." anchor="object" last="{{ true }}"></nav-menu> |
21 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 21 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
| 22 <nav-notify notifications="{{ app.notifications }}"></nav-notify> |
22 </nav-bar> | 23 </nav-bar> |
23 | 24 |
24 <div class="content"> | 25 <div class="content"> |
25 <object-common object="{{ pool }}"></object-common> | 26 <object-common object="{{ pool }}"></object-common> |
26 | 27 |
27 <br><br> | 28 <br><br> |
28 | 29 |
29 entries ({{ pool.entries.length }}) | 30 entries ({{ pool.entries.length }}) |
30 <div class="memberList"> | 31 <div class="memberList"> |
31 <template repeat="{{ entry in pool.entries }}"> | 32 <template repeat="{{ entry in pool.entries }}"> |
32 <div class="memberItem"> | 33 <div class="memberItem"> |
33 <div class="memberName">[PP+0x{{ entry['offset'].toRadixString(16) }
}]</div> | 34 <div class="memberName">[PP+0x{{ entry['offset'].toRadixString(16) }
}]</div> |
34 <div class="memberValue"> | 35 <div class="memberValue"> |
35 <template if="{{ entry['kind'] == 'Object' }}"> | 36 <template if="{{ entry['kind'] == 'Object' }}"> |
36 <any-service-ref ref="{{ entry['value'] }}"> | 37 <any-service-ref ref="{{ entry['value'] }}"> |
37 </any-service-ref> | 38 </any-service-ref> |
38 </template> | 39 </template> |
39 <template if="{{ entry['kind'] == 'Immediate' }}"> | 40 <template if="{{ entry['kind'] == 'Immediate' }}"> |
40 Immediate 0x{{ entry['value'].toRadixString(16) }} | 41 Immediate 0x{{ entry['value'].toRadixString(16) }} |
41 </template> | 42 </template> |
42 <template if="{{ entry['kind'] == 'NativeEntry' }}"> | 43 <template if="{{ entry['kind'] == 'NativeEntry' }}"> |
43 NativeEntry 0x{{ entry['value'].toRadixString(16) }} | 44 NativeEntry 0x{{ entry['value'].toRadixString(16) }} |
44 </template> | 45 </template> |
45 </div> | 46 </div> |
46 </div> | 47 </div> |
47 </template> | 48 </template> |
48 </div> | 49 </div> |
49 | 50 |
50 </div> | 51 </div> |
51 | 52 |
52 <hr> | 53 <hr> |
53 <view-footer></view-footer> | 54 <view-footer></view-footer> |
54 </template> | 55 </template> |
55 </polymer-element> | 56 </polymer-element> |
56 | 57 |
57 <script type="application/dart" src="objectpool_view.dart"></script> | 58 <script type="application/dart" src="objectpool_view.dart"></script> |
OLD | NEW |