| 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/value/ui/histogram_set_table_cell.html"> | 8 <link rel="import" href="/tracing/value/ui/histogram_set_table_cell.html"> |
| 9 <link rel="import" href="/tracing/value/ui/histogram_set_table_name_cell.html"> | 9 <link rel="import" href="/tracing/value/ui/histogram_set_table_name_cell.html"> |
| 10 | 10 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 return this.hierarchy_.description; | 63 return this.hierarchy_.description; |
| 64 } | 64 } |
| 65 | 65 |
| 66 /** | 66 /** |
| 67 * @return {!Map.<string, !(undefined|tr.v.Histogram|tr.v.HistogramSet)>} | 67 * @return {!Map.<string, !(undefined|tr.v.Histogram|tr.v.HistogramSet)>} |
| 68 */ | 68 */ |
| 69 get columns() { | 69 get columns() { |
| 70 return this.hierarchy_.columns; | 70 return this.hierarchy_.columns; |
| 71 } | 71 } |
| 72 | 72 |
| 73 * sortedColumns() { |
| 74 for (const col of this.baseTable_.tableColumns) { |
| 75 yield [ |
| 76 col.displayLabel, |
| 77 this.hierarchy_.columns.get(col.displayLabel), |
| 78 ]; |
| 79 } |
| 80 } |
| 81 |
| 73 /** | 82 /** |
| 74 * @return {!tr.b.Range} | 83 * @return {!tr.b.Range} |
| 75 */ | 84 */ |
| 76 get overviewDataRange() { | 85 get overviewDataRange() { |
| 77 if (this.overviewDataRange_ === undefined) { | 86 if (this.overviewDataRange_ === undefined) { |
| 78 this.overviewDataRange_ = new tr.b.math.Range(); | 87 this.overviewDataRange_ = new tr.b.math.Range(); |
| 79 | 88 |
| 80 const displayStatisticName = | 89 const displayStatisticName = |
| 81 this.rootViewState.displayStatisticName; | 90 this.rootViewState.displayStatisticName; |
| 82 const referenceDisplayLabel = | 91 const referenceDisplayLabel = |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 this.subRows_.reverse(); | 285 this.subRows_.reverse(); |
| 277 } | 286 } |
| 278 } | 287 } |
| 279 } | 288 } |
| 280 | 289 |
| 281 return { | 290 return { |
| 282 HistogramSetTableRow, | 291 HistogramSetTableRow, |
| 283 }; | 292 }; |
| 284 }); | 293 }); |
| 285 </script> | 294 </script> |
| OLD | NEW |