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