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="observatory_element.html"> | 3 <link rel="import" href="observatory_element.html"> |
4 <link rel="import" href="nav_bar.html"> | 4 <link rel="import" href="nav_bar.html"> |
5 <link rel="import" href="view_footer.html"> | 5 <link rel="import" href="view_footer.html"> |
6 | 6 |
7 <polymer-element name="heap-map" extends="observatory-element"> | 7 <polymer-element name="heap-map" extends="observatory-element"> |
8 <template> | 8 <template> |
9 <link rel="stylesheet" href="css/shared.css"> | 9 <link rel="stylesheet" href="css/shared.css"> |
10 <style> | 10 <style> |
11 .hover { | 11 .hover { |
12 position: fixed; | 12 position: fixed; |
13 z-index: 999; | 13 z-index: 999; |
14 height: 16px; | 14 height: 16px; |
15 width: 100%; | 15 width: 100%; |
16 background: #ffffff; | 16 background: #ffffff; |
17 } | 17 } |
18 .spacer { | 18 .spacer { |
19 height: 16px; | 19 height: 16px; |
20 background-color: red; | 20 background-color: red; |
21 } | 21 } |
22 </style> | 22 </style> |
23 <nav-bar pad="{{ false }}"> | 23 <nav-bar pad="{{ false }}"> |
24 <top-nav-menu></top-nav-menu> | 24 <top-nav-menu></top-nav-menu> |
| 25 <vm-nav-menu vm="{{ fragmentation.isolate.vm }}"></vm-nav-menu> |
25 <isolate-nav-menu isolate="{{ fragmentation.isolate }}"></isolate-nav-menu> | 26 <isolate-nav-menu isolate="{{ fragmentation.isolate }}"></isolate-nav-menu> |
26 <nav-menu link="{{ makeLink('/heap-map', fragmentation.isolate) }}" anchor="
heap map" last="{{ true }}"></nav-menu> | 27 <nav-menu link="{{ makeLink('/heap-map', fragmentation.isolate) }}" anchor="
heap map" last="{{ true }}"></nav-menu> |
27 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 28 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
28 </nav-bar> | 29 </nav-bar> |
29 <div class="hover"> | 30 <div class="hover"> |
30 <p style="text-align:center">{{ status }}</p> | 31 <p style="text-align:center">{{ status }}</p> |
31 </div> | 32 </div> |
32 <div class="spacer"> | 33 <div class="spacer"> |
33 <!-- Make sure no data is covered by hover bar initially --> | 34 <!-- Make sure no data is covered by hover bar initially --> |
34 </div> | 35 </div> |
35 <div class="flex-row"> | 36 <div class="flex-row"> |
36 <canvas id="fragmentation" width="1px" height="1px"></canvas> | 37 <canvas id="fragmentation" width="1px" height="1px"></canvas> |
37 </div> | 38 </div> |
38 <view-footer></view-footer> | 39 <view-footer></view-footer> |
39 </template> | 40 </template> |
40 </polymer-element> | 41 </polymer-element> |
41 | 42 |
42 <script type="application/dart" src="heap_map.dart"></script> | 43 <script type="application/dart" src="heap_map.dart"></script> |
OLD | NEW |