OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright 2015 The Chromium Authors. All rights reserved. | 3 Copyright 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/color_scheme.html"> | 8 <link rel="import" href="/tracing/base/color_scheme.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/base/multi_dimensional_view.html"> | 10 <link rel="import" href="/tracing/base/multi_dimensional_view.html"> |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 this.heapDumps_ = undefined; | 207 this.heapDumps_ = undefined; |
208 this.aggregationMode_ = undefined; | 208 this.aggregationMode_ = undefined; |
209 this.viewMode_ = undefined; | 209 this.viewMode_ = undefined; |
210 }, | 210 }, |
211 | 211 |
212 ready: function() { | 212 ready: function() { |
213 this.$.table.selectionMode = tr.ui.b.TableFormat.SelectionMode.ROW; | 213 this.$.table.selectionMode = tr.ui.b.TableFormat.SelectionMode.ROW; |
214 this.$.info_bar.message = 'Note: Values displayed in the heavy view ' + | 214 this.$.info_bar.message = 'Note: Values displayed in the heavy view ' + |
215 'are lower bounds (except for the root).'; | 215 'are lower bounds (except for the root).'; |
216 | 216 |
217 | |
218 Polymer.dom(this.$.view_mode_container).appendChild( | 217 Polymer.dom(this.$.view_mode_container).appendChild( |
219 tr.ui.b.createSelector( | 218 tr.ui.b.createSelector( |
220 this, 'viewMode', 'memoryDumpHeapDetailsPane.viewMode', | 219 this, 'viewMode', 'memoryDumpHeapDetailsPane.viewMode', |
221 MultiDimensionalViewBuilder.ViewType.TOP_DOWN_TREE_VIEW, | 220 MultiDimensionalViewBuilder.ViewType.TOP_DOWN_TREE_VIEW, |
222 [ | 221 [ |
223 { | 222 { |
224 label: 'Top-down (Tree)', | 223 label: 'Top-down (Tree)', |
225 value: MultiDimensionalViewBuilder.ViewType.TOP_DOWN_TREE_VIEW | 224 value: MultiDimensionalViewBuilder.ViewType.TOP_DOWN_TREE_VIEW |
226 }, | 225 }, |
227 { | 226 { |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 } | 484 } |
486 }); | 485 }); |
487 | 486 |
488 return { | 487 return { |
489 // Exported for testing. | 488 // Exported for testing. |
490 RowDimension: RowDimension, | 489 RowDimension: RowDimension, |
491 AllocationCountColumn: AllocationCountColumn | 490 AllocationCountColumn: AllocationCountColumn |
492 }; | 491 }; |
493 }); | 492 }); |
494 </script> | 493 </script> |
OLD | NEW |