OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2015 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2015 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/iteration_helpers.html"> | 8 <link rel="import" href="/tracing/base/iteration_helpers.html"> |
9 <link rel="import" href="/tracing/ui/analysis/memory_dump_sub_view_util.html"> | 9 <link rel="import" href="/tracing/ui/analysis/memory_dump_sub_view_util.html"> |
10 <link rel="import" href="/tracing/ui/analysis/stacked_pane.html"> | 10 <link rel="import" href="/tracing/ui/analysis/stacked_pane.html"> |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 } | 147 } |
148 | 148 |
149 row.subRows.forEach(pruneEmptyRuleRows); | 149 row.subRows.forEach(pruneEmptyRuleRows); |
150 row.subRows = row.subRows.filter(function(subRow) { | 150 row.subRows = row.subRows.filter(function(subRow) { |
151 return subRow.subRows.length > 0; | 151 return subRow.subRows.length > 0; |
152 }); | 152 }); |
153 } | 153 } |
154 | 154 |
155 Polymer({ | 155 Polymer({ |
156 is: 'tr-ui-a-memory-dump-vm-regions-details-pane', | 156 is: 'tr-ui-a-memory-dump-vm-regions-details-pane', |
157 behaviors: [tr.ui.analysis.behaviors.StackedPane], | 157 behaviors: [tr.ui.analysis.StackedPane], |
158 | 158 |
159 created: function() { | 159 created: function() { |
160 this.vmRegions_ = undefined; | 160 this.vmRegions_ = undefined; |
161 this.aggregationMode_ = undefined; | 161 this.aggregationMode_ = undefined; |
162 }, | 162 }, |
163 | 163 |
164 ready: function() { | 164 ready: function() { |
165 this.$.table.selectionMode = tr.ui.b.TableFormat.SelectionMode.ROW; | 165 this.$.table.selectionMode = tr.ui.b.TableFormat.SelectionMode.ROW; |
166 }, | 166 }, |
167 | 167 |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 tr.ui.analysis.MemoryColumn.spaceEqually(fieldColumns); | 372 tr.ui.analysis.MemoryColumn.spaceEqually(fieldColumns); |
373 | 373 |
374 var columns = [titleColumn].concat(fieldColumns); | 374 var columns = [titleColumn].concat(fieldColumns); |
375 return columns; | 375 return columns; |
376 } | 376 } |
377 }); | 377 }); |
378 | 378 |
379 return {}; | 379 return {}; |
380 }); | 380 }); |
381 </script> | 381 </script> |
OLD | NEW |