OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright 2016 The Chromium Authors. All rights reserved. | 3 Copyright 2016 The Chromium Authors. All rights reserved. |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <link rel="import" href="/tracing/base/timing.html"> | 8 <link rel="import" href="/tracing/base/timing.html"> |
9 <link rel="import" href="/tracing/ui/base/table.html"> | 9 <link rel="import" href="/tracing/ui/base/table.html"> |
10 <link rel="import" href="/tracing/value/histogram_set.html"> | 10 <link rel="import" href="/tracing/value/histogram_set.html"> |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 'Unconstrained')); | 163 'Unconstrained')); |
164 } | 164 } |
165 }, | 165 }, |
166 | 166 |
167 buildColumn_(displayLabel) { | 167 buildColumn_(displayLabel) { |
168 const title = document.createElement('span'); | 168 const title = document.createElement('span'); |
169 title.textContent = displayLabel; | 169 title.textContent = displayLabel; |
170 title.style.whiteSpace = 'pre'; | 170 title.style.whiteSpace = 'pre'; |
171 | 171 |
172 return { | 172 return { |
| 173 displayLabel, |
173 title, | 174 title, |
174 value: row => row.getCell(displayLabel), | 175 value: row => row.getCell(displayLabel), |
175 cmp: (rowA, rowB) => rowA.compareCells(rowB, displayLabel), | 176 cmp: (rowA, rowB) => rowA.compareCells(rowB, displayLabel), |
176 }; | 177 }; |
177 }, | 178 }, |
178 | 179 |
179 async updateContents_() { | 180 async updateContents_() { |
180 if (this.groupedHistograms_ === undefined) { | 181 if (this.groupedHistograms_ === undefined) { |
181 await this.progress_('Grouping Histograms...'); | 182 await this.progress_('Grouping Histograms...'); |
182 this.groupHistograms_(); | 183 this.groupHistograms_(); |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 } | 431 } |
431 return histograms; | 432 return histograms; |
432 } | 433 } |
433 }); | 434 }); |
434 | 435 |
435 return { | 436 return { |
436 MIDLINE_HORIZONTAL_ELLIPSIS, | 437 MIDLINE_HORIZONTAL_ELLIPSIS, |
437 }; | 438 }; |
438 }); | 439 }); |
439 </script> | 440 </script> |
OLD | NEW |