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

Side by Side Diff: tracing/tracing/ui/analysis/selection_summary_table.html

Issue 2771723003: [tracing] Move math utilities from base into their own subdirectory (attempt 2) (Closed)
Patch Set: rebase Created 3 years, 9 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2013 The Chromium Authors. All rights reserved. 3 Copyright (c) 2013 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/base.html"> 8 <link rel="import" href="/tracing/base/base.html">
9 <link rel="import" href="/tracing/base/unit.html"> 9 <link rel="import" href="/tracing/base/unit.html">
10 <link rel="import" href="/tracing/ui/base/table.html"> 10 <link rel="import" href="/tracing/ui/base/table.html">
(...skipping 15 matching lines...) Expand all
26 </tr-ui-b-table> 26 </tr-ui-b-table>
27 </div> 27 </div>
28 </template> 28 </template>
29 </dom-module> 29 </dom-module>
30 <script> 30 <script>
31 'use strict'; 31 'use strict';
32 32
33 Polymer({ 33 Polymer({
34 is: 'tr-ui-a-selection-summary-table', 34 is: 'tr-ui-a-selection-summary-table',
35 created: function() { 35 created: function() {
36 this.selection_ = new tr.b.Range(); 36 this.selection_ = new tr.b.math.Range();
37 }, 37 },
38 38
39 ready: function() { 39 ready: function() {
40 this.$.table.showHeader = false; 40 this.$.table.showHeader = false;
41 this.$.table.tableColumns = [ 41 this.$.table.tableColumns = [
42 { 42 {
43 title: 'Name', 43 title: 'Name',
44 value: function(row) { return row.title; }, 44 value: function(row) { return row.title; },
45 width: '350px' 45 width: '350px'
46 }, 46 },
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 unit: tr.b.Unit.byName.timeDurationInMs, 87 unit: tr.b.Unit.byName.timeDurationInMs,
88 ownerDocument: this.ownerDocument 88 ownerDocument: this.ownerDocument
89 }) : '<empty>' 89 }) : '<empty>'
90 }); 90 });
91 91
92 this.$.table.tableRows = rows; 92 this.$.table.tableRows = rows;
93 this.$.table.rebuild(); 93 this.$.table.rebuild();
94 } 94 }
95 }); 95 });
96 </script> 96 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/analysis/related_events.html ('k') | tracing/tracing/ui/analysis/single_thread_time_slice_sub_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698