| 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="action_link.html"> |
| 3 <link rel="import" href="cpu_profile.html"> |
| 2 <link rel="import" href="curly_block.html"> | 4 <link rel="import" href="curly_block.html"> |
| 3 <link rel="import" href="eval_box.html"> | 5 <link rel="import" href="eval_box.html"> |
| 4 <link rel="import" href="eval_link.html"> | 6 <link rel="import" href="eval_link.html"> |
| 5 <link rel="import" href="field_ref.html"> | 7 <link rel="import" href="field_ref.html"> |
| 6 <link rel="import" href="function_ref.html"> | 8 <link rel="import" href="function_ref.html"> |
| 7 <link rel="import" href="instance_ref.html"> | 9 <link rel="import" href="instance_ref.html"> |
| 8 <link rel="import" href="library_ref.html"> | 10 <link rel="import" href="library_ref.html"> |
| 9 <link rel="import" href="nav_bar.html"> | 11 <link rel="import" href="nav_bar.html"> |
| 10 <link rel="import" href="observatory_element.html"> | 12 <link rel="import" href="observatory_element.html"> |
| 11 <link rel="import" href="script_inset.html"> | 13 <link rel="import" href="script_inset.html"> |
| 12 <link rel="import" href="script_ref.html"> | 14 <link rel="import" href="script_ref.html"> |
| 13 <link rel="import" href="view_footer.html"> | 15 <link rel="import" href="view_footer.html"> |
| 14 | 16 |
| 15 <polymer-element name="class-view" extends="observatory-element"> | 17 <polymer-element name="class-view" extends="observatory-element"> |
| 16 <template> | 18 <template> |
| 17 <link rel="stylesheet" href="css/shared.css"> | 19 <link rel="stylesheet" href="css/shared.css"> |
| 18 <nav-bar> | 20 <nav-bar> |
| 19 <top-nav-menu></top-nav-menu> | 21 <top-nav-menu></top-nav-menu> |
| 20 <vm-nav-menu vm="{{ cls.isolate.vm }}"></vm-nav-menu> | 22 <vm-nav-menu vm="{{ cls.isolate.vm }}"></vm-nav-menu> |
| 21 <isolate-nav-menu isolate="{{ cls.isolate }}"></isolate-nav-menu> | 23 <isolate-nav-menu isolate="{{ cls.isolate }}"></isolate-nav-menu> |
| 22 <library-nav-menu library="{{ cls.library }}"></library-nav-menu> | 24 <library-nav-menu library="{{ cls.library }}"></library-nav-menu> |
| 23 <class-nav-menu cls="{{ cls }}" last="{{ true }}"></class-nav-menu> | 25 <class-nav-menu cls="{{ cls }}" last="{{ true }}"></class-nav-menu> |
| 26 <nav-refresh callback="{{ refreshAllocationProfile }}" label="Refresh Allo
cation Profile"></nav-refresh> |
| 24 <nav-refresh callback="{{ refreshCoverage }}" label="Refresh Coverage"></n
av-refresh> | 27 <nav-refresh callback="{{ refreshCoverage }}" label="Refresh Coverage"></n
av-refresh> |
| 25 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 28 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
| 26 </nav-bar> | 29 </nav-bar> |
| 27 | 30 |
| 28 <div class="content"> | 31 <div class="content"> |
| 29 <h1> | 32 <h1> |
| 30 <template if="{{ cls.isAbstract }}"> | 33 <template if="{{ cls.isAbstract }}"> |
| 31 abstract | 34 abstract |
| 32 </template> | 35 </template> |
| 33 <template if="{{ cls.isPatch }}"> | 36 <template if="{{ cls.isPatch }}"> |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 {{ most.retainedSize | formatSize }}<any-service-ref ref="{{ m
ost }}"></any-service-ref><br> | 202 {{ most.retainedSize | formatSize }}<any-service-ref ref="{{ m
ost }}"></any-service-ref><br> |
| 200 </template> | 203 </template> |
| 201 </template> | 204 </template> |
| 202 </div> | 205 </div> |
| 203 </div> | 206 </div> |
| 204 </template> | 207 </template> |
| 205 </div> | 208 </div> |
| 206 | 209 |
| 207 <hr> | 210 <hr> |
| 208 | 211 |
| 212 <div class="content"> |
| 213 <h2>Allocations</h2> |
| 214 <div class="memberList"> |
| 215 <template if="{{ cls.traceAllocations }}"> |
| 216 <div class="memberItem"> |
| 217 <div class="memberName">Tracing allocations?</div> |
| 218 <div class="memberValue"> |
| 219 <span>Yes</span><action-link label="disable" callback="{{ toggleAl
locationTrace }}"></action-link> |
| 220 </div> |
| 221 </div> |
| 222 </template> |
| 223 <template if="{{ !cls.traceAllocations }}"> |
| 224 <div class="memberItem"> |
| 225 <div class="memberName">Tracing allocations?</div> |
| 226 <div class="memberValue"> |
| 227 <span>No</span><action-link label="enable" callback="{{ toggleAllo
cationTrace }}"></action-link> |
| 228 </div> |
| 229 </div> |
| 230 </template> |
| 231 </div> |
| 232 <div class="flex-row centered"> |
| 233 <div class="flex-item-90-percent outlined" style="margin: 16px; margin-l
eft: 8px; margin-right: 8px"> |
| 234 <cpu-profile-tree id="cpuProfileTree"></cpu-profile-tree> |
| 235 </div> |
| 236 </div> |
| 237 </div> |
| 238 |
| 239 <hr> |
| 240 |
| 209 <div class="content-centered-big"> | 241 <div class="content-centered-big"> |
| 210 <source-inset location="{{ cls.location }}"> | 242 <source-inset location="{{ cls.location }}"> |
| 211 </source-inset> | 243 </source-inset> |
| 212 </div> | 244 </div> |
| 213 | 245 |
| 214 <view-footer></view-footer> | 246 <view-footer></view-footer> |
| 215 </template> | 247 </template> |
| 216 </polymer-element> | 248 </polymer-element> |
| 217 | 249 |
| 218 <script type="application/dart" src="class_view.dart"></script> | 250 <script type="application/dart" src="class_view.dart"></script> |
| OLD | NEW |