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/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/model/memory_allocator_dump.html"> | 10 <link rel="import" href="/tracing/model/memory_allocator_dump.html"> |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 }, | 449 }, |
450 { | 450 { |
451 // All other columns. | 451 // All other columns. |
452 importance: 1, | 452 importance: 1, |
453 columnConstructor: AllocatorColumn | 453 columnConstructor: AllocatorColumn |
454 } | 454 } |
455 ]; | 455 ]; |
456 | 456 |
457 Polymer({ | 457 Polymer({ |
458 is: 'tr-ui-a-memory-dump-overview-pane', | 458 is: 'tr-ui-a-memory-dump-overview-pane', |
459 behaviors: [tr.ui.analysis.behaviors.StackedPane], | 459 behaviors: [tr.ui.analysis.StackedPane], |
460 | 460 |
461 created: function() { | 461 created: function() { |
462 this.processMemoryDumps_ = undefined; | 462 this.processMemoryDumps_ = undefined; |
463 this.aggregationMode_ = undefined; | 463 this.aggregationMode_ = undefined; |
464 }, | 464 }, |
465 | 465 |
466 ready: function() { | 466 ready: function() { |
467 this.$.table.selectionMode = tr.ui.b.TableFormat.SelectionMode.CELL; | 467 this.$.table.selectionMode = tr.ui.b.TableFormat.SelectionMode.CELL; |
468 this.$.table.addEventListener('selection-changed', | 468 this.$.table.addEventListener('selection-changed', |
469 function(tableEvent) { | 469 function(tableEvent) { |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 // All exports are for testing only. | 750 // All exports are for testing only. |
751 ProcessNameColumn: ProcessNameColumn, | 751 ProcessNameColumn: ProcessNameColumn, |
752 UsedMemoryColumn: UsedMemoryColumn, | 752 UsedMemoryColumn: UsedMemoryColumn, |
753 PeakMemoryColumn: PeakMemoryColumn, | 753 PeakMemoryColumn: PeakMemoryColumn, |
754 ByteStatColumn: ByteStatColumn, | 754 ByteStatColumn: ByteStatColumn, |
755 AllocatorColumn: AllocatorColumn, | 755 AllocatorColumn: AllocatorColumn, |
756 TracingColumn: TracingColumn | 756 TracingColumn: TracingColumn |
757 }; | 757 }; |
758 }); | 758 }); |
759 </script> | 759 </script> |
OLD | NEW |