4 <title>Provided File Systems
</title>
6 <link rel=
"stylesheet" href=
"chrome://resources/css/chrome_shared.css">
7 <link rel=
"stylesheet" href=
"provided_file_systems.css">
8 <script src=
"chrome://provided-file-systems/provided_file_systems.js">
12 <polymer-element name=
"file-systems">
14 <link rel=
"stylesheet"
15 href=
"chrome://provided-file-systems/provided_file_systems.css">
16 <div id=
"fileSystems">
23 <th>Active Requests
</th>
27 <template id=
"file-system" repeat=
"{{item in model}}">
28 <tr on-click=
"{{rowClicked}}" data-id=
"{{item.id}}"
29 data-extension-id=
"{{item.extensionId}}">
31 <td>{{item.name}}
</td>
33 <div class=
"icon" style=
"background-image:
35 url(chrome://extension-icon/{{item.extensionId}}/24/1)
37 url(chrome://extension-icon/{{item.extensionId}}/48/1)
41 <td>{{item.activeRequests}}
</td>
50 <polymer-element name=
"request-timeline">
52 <link rel=
"stylesheet"
53 href=
"chrome://provided-file-systems/provided_file_systems.css">
54 <div id=
"requestTimeline">
55 <div class=
"request-timeline-toolbar">
56 <button on-click=
"{{zoomOutClicked}}">–</button>
57 <button on-click=
"{{zoomInClicked}}">+
</button>
59 <div class=
"request-timeline-scroller">
60 <div class=
"request-timeline-padding"
61 style=
"min-height: {{rows.length * ROW_HEIGHT}}px">
62 <div class=
"request-timeline-scroller">
63 <template id=
"request-timeline-request"
64 repeat=
"{{request in chart}}">
65 <button class=
"request-timeline-request"
66 on-click=
"{{elementClicked}}"
67 title=
"{{request.id}}"
68 data-id=
"{{request.id}}"
69 data-state=
"{{request.state}}"
70 data-request-type=
"{{request.requestType}}"
71 style=
"-webkit-margin-start: {{request.left * scale}}px;
72 top: {{request.row * ROW_HEIGHT}}px;
73 width: {{request.length * scale}}px">
74 <div class=
"request-timeline-request-overhead"
76 {{(request.length - request.executionTime) * scale}}px">
79 "{{request.valueSize && request.length * scale > 50}}">
80 <div class=
"request-timeline-request-value-size">
81 {{request.valueSize | formatSize}}
93 <polymer-element name=
"request-events">
95 <link rel=
"stylesheet"
96 href=
"chrome://provided-file-systems/provided_file_systems.css">
97 <div id=
"requestEvents">
103 <th>Request Type
</th>
112 <template id=
"request-event" repeat=
"{{item in model}}">
115 <a id=
"request-{{item.id}}"></a>
116 {{item.time | formatTime}}
119 <td data-request-type=
"{{item.requestType}}">
120 <span>{{item.requestType}}
</span>
123 <template if={{item.valueSize}}
>
124 {{item.valueSize | formatSize}}
128 <template if={{item.valueSize}}
>
129 {{item.executionTime | formatExecutionTime}}
132 <td>{{item.eventType}}
</td>
133 <td data-error=
"{{item.error}}">
134 <span>{{item.error}}
</span>
136 <td>{{item.hasMore | formatHasMore}}
</td>
145 <file-systems id=
"file-systems">
148 <request-timeline hidden
id=
"request-timeline">
151 <request-events hidden
id=
"request-events">