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