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