OLD | NEW |
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/iteration_helpers.html"> | 9 <link rel="import" href="/tracing/base/iteration_helpers.html"> |
10 <link rel="import" href="/tracing/model/event_set.html"> | 10 <link rel="import" href="/tracing/model/event_set.html"> |
(...skipping 19 matching lines...) Expand all Loading... |
30 </style> | 30 </style> |
31 <tr-ui-b-table id="table"> | 31 <tr-ui-b-table id="table"> |
32 </tr-ui-b-table> | 32 </tr-ui-b-table> |
33 </template> | 33 </template> |
34 </dom-module> | 34 </dom-module> |
35 <script> | 35 <script> |
36 'use strict'; | 36 'use strict'; |
37 | 37 |
38 Polymer({ | 38 Polymer({ |
39 is: 'tr-ui-a-single-event-sub-view', | 39 is: 'tr-ui-a-single-event-sub-view', |
40 behaviors: [tr.ui.analysis.behaviors.AnalysisSubView], | 40 behaviors: [tr.ui.analysis.AnalysisSubView], |
41 | 41 |
42 properties: { | 42 properties: { |
43 isFlow: { | 43 isFlow: { |
44 type: Boolean, | 44 type: Boolean, |
45 value: false | 45 value: false |
46 } | 46 } |
47 }, | 47 }, |
48 | 48 |
49 ready: function() { | 49 ready: function() { |
50 this.currentSelection_ = undefined; | 50 this.currentSelection_ = undefined; |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 | 332 |
333 var customizeRowsEvent = new tr.b.Event('customize-rows'); | 333 var customizeRowsEvent = new tr.b.Event('customize-rows'); |
334 customizeRowsEvent.rows = rows; | 334 customizeRowsEvent.rows = rows; |
335 this.dispatchEvent(customizeRowsEvent); | 335 this.dispatchEvent(customizeRowsEvent); |
336 | 336 |
337 this.$.table.tableRows = rows; | 337 this.$.table.tableRows = rows; |
338 this.$.table.rebuild(); | 338 this.$.table.rebuild(); |
339 } | 339 } |
340 }); | 340 }); |
341 </script> | 341 </script> |
OLD | NEW |