Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | |
| 2 <link rel="import" href="nav_bar.html"> | |
| 3 <link rel="import" href="observatory_element.html"> | |
| 4 | |
| 5 <polymer-element name="persistent-handles-page" extends="observatory-element"> | |
| 6 <template> | |
| 7 <link rel="stylesheet" href="css/shared.css"> | |
| 8 <style> | |
| 9 .table { | |
| 10 border-collapse: collapse!important; | |
| 11 margin-bottom: 20px | |
| 12 table-layout: fixed; | |
| 13 width: 100%; | |
| 14 } | |
| 15 .table td:nth-of-type(1) { | |
| 16 width: 30%; | |
| 17 } | |
| 18 .th, .td { | |
| 19 padding: 8px; | |
| 20 vertical-align: top; | |
| 21 } | |
| 22 .table thead > tr > th { | |
| 23 vertical-align: bottom; | |
| 24 text-align: left; | |
| 25 border-bottom:2px solid #ddd; | |
| 26 } | |
| 27 .spacer { | |
| 28 width: 16px; | |
| 29 } | |
| 30 .left-border-spacer { | |
| 31 width: 16px; | |
| 32 border-left: 1px solid; | |
| 33 } | |
| 34 .clickable { | |
| 35 color: #0489c3; | |
| 36 text-decoration: none; | |
| 37 cursor: pointer; | |
| 38 } | |
| 39 .clickable:hover { | |
| 40 text-decoration: underline; | |
| 41 cursor: pointer; | |
| 42 } | |
| 43 #weakPersistentHandlesTable tr:hover > td { | |
| 44 background-color: #F4C7C3; | |
| 45 } | |
| 46 .nav-option { | |
| 47 color: white; | |
| 48 float: right; | |
| 49 margin: 3px; | |
| 50 padding: 8px; | |
| 51 } | |
| 52 </style> | |
| 53 <nav-bar> | |
| 54 <top-nav-menu></top-nav-menu> | |
| 55 <vm-nav-menu vm="{{ isolate.vm }}"></vm-nav-menu> | |
| 56 <isolate-nav-menu isolate="{{ isolate }}"></isolate-nav-menu> | |
| 57 <nav-menu link="{{ makeLink('/persistent-handles', isolate) }}" anchor="pe rsistent handles" last="{{ true }}"></nav-menu> | |
| 58 <nav-refresh callback="{{ refresh }}"></nav-refresh> | |
| 59 </nav-bar> | |
| 60 <div class="content-centered-big"> | |
| 61 <h1>Persistent Handles</h1> | |
|
rmacnak
2016/02/23 20:58:21
Persistent Handles (count)
Cutch
2016/02/25 17:23:42
Done.
| |
| 62 <hr> | |
| 63 <template if="{{ persistentHandles.isNotEmpty }}"> | |
| 64 persistent handles ({{ persistentHandles.length }}) | |
| 65 <curly-block expand="{{ persistentHandles.length <= 8 }}"> | |
| 66 <div class="memberList"> | |
| 67 <template repeat="{{ persistentHandle in persistentHandles }}"> | |
| 68 <div class="memberItem"> | |
| 69 <div class="memberValue"> | |
| 70 <any-service-ref ref="{{ persistentHandle['object'] }}"> | |
|
rmacnak
2016/02/23 20:58:22
This page is going to have the same problem as lar
Cutch
2016/02/25 17:23:42
Of course, this is a limitation of the service pro
| |
| 71 </any-service-ref> | |
| 72 </div> | |
| 73 </div> | |
| 74 </template> | |
| 75 </div> | |
| 76 </curly-block><br><br> | |
| 77 </template> | |
| 78 <br><br> | |
| 79 <h1>Weak Persistent Handles</h1> | |
|
rmacnak
2016/02/23 20:58:21
Weak Persistent Handles (count)
Cutch
2016/02/25 17:23:42
Done.
| |
| 80 <hr> | |
| 81 <table id="weakPersistentHandlesTable" class="flex-item-100-percent table" > | |
| 82 <thead id="weakPersistentHandlesTableHead"> | |
| 83 <tr> | |
| 84 <th on-click="{{changeSort}}" class="clickable" title="External Size ">{{ weakPersistentHandlesTable.getColumnLabel(0) }}</th> | |
| 85 <th on-click="{{changeSort}}" class="clickable" title="Peer">{{ weak PersistentHandlesTable.getColumnLabel(1) }}</th> | |
| 86 <th on-click="{{changeSort}}" class="clickable" title="Finalizer Cal lback">{{ weakPersistentHandlesTable.getColumnLabel(2) }}</th> | |
| 87 <th class="spacer"></th> | |
| 88 <th on-click="{{changeSort}}" class="clickable" title="Object">{{ we akPersistentHandlesTable.getColumnLabel(4) }}</th> | |
| 89 </tr> | |
| 90 </thead> | |
| 91 <tbody id="weakPersistentHandlesTableBody"> | |
| 92 </tbody> | |
| 93 </table> | |
| 94 <view-footer></view-footer> | |
| 95 </div> | |
| 96 </template> | |
| 97 </polymer-element> | |
| OLD | NEW |