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="{{ makeLink('/heap-map', fragmentation.isolate) }}" 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> | |
28 </nav-bar> | 27 </nav-bar> |
29 <div class="hover"> | 28 <div class="hover"> |
30 <p style="text-align:center">{{ status }}</p> | 29 <p style="text-align:center">{{ status }}</p> |
31 </div> | 30 </div> |
32 <div class="spacer"> | 31 <div class="spacer"> |
33 <!-- Make sure no data is covered by hover bar initially --> | 32 <!-- Make sure no data is covered by hover bar initially --> |
34 </div> | 33 </div> |
35 <div class="flex-row"> | 34 <div class="flex-row"> |
36 <canvas id="fragmentation" width="1px" height="1px"></canvas> | 35 <canvas id="fragmentation" width="1px" height="1px"></canvas> |
37 </div> | 36 </div> |
38 </template> | 37 </template> |
39 </polymer-element> | 38 </polymer-element> |
40 | 39 |
41 <script type="application/dart" src="heap_map.dart"></script> | 40 <script type="application/dart" src="heap_map.dart"></script> |
OLD | NEW |