Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: tracing/tracing/value/ui/histogram_set_table.html

Issue 3016683002: Sort overview chart in histogram-set-table-name-cell. (Closed)
Patch Set: Created 3 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tracing/tracing/value/ui/histogram_set_table_name_cell.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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>
OLDNEW
« no previous file with comments | « no previous file | tracing/tracing/value/ui/histogram_set_table_name_cell.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698