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/base/range.html"> | 9 <link rel="import" href="/tracing/base/range.html"> |
10 <link rel="import" href="/tracing/model/memory_allocator_dump.html"> | 10 <link rel="import" href="/tracing/model/memory_allocator_dump.html"> |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 | 487 |
488 var DIAGNOSTIC_COLUMN_RULES = [ | 488 var DIAGNOSTIC_COLUMN_RULES = [ |
489 { | 489 { |
490 importance: 0, | 490 importance: 0, |
491 columnConstructor: tr.ui.analysis.StringMemoryColumn | 491 columnConstructor: tr.ui.analysis.StringMemoryColumn |
492 } | 492 } |
493 ]; | 493 ]; |
494 | 494 |
495 Polymer({ | 495 Polymer({ |
496 is: 'tr-ui-a-memory-dump-allocator-details-pane', | 496 is: 'tr-ui-a-memory-dump-allocator-details-pane', |
497 behaviors: [tr.ui.analysis.behaviors.StackedPane], | 497 behaviors: [tr.ui.analysis.StackedPane], |
498 | 498 |
499 created: function() { | 499 created: function() { |
500 this.memoryAllocatorDumps_ = undefined; | 500 this.memoryAllocatorDumps_ = undefined; |
501 this.heapDumps_ = undefined; | 501 this.heapDumps_ = undefined; |
502 this.aggregationMode_ = undefined; | 502 this.aggregationMode_ = undefined; |
503 }, | 503 }, |
504 | 504 |
505 ready: function() { | 505 ready: function() { |
506 this.$.table.selectionMode = tr.ui.b.TableFormat.SelectionMode.ROW; | 506 this.$.table.selectionMode = tr.ui.b.TableFormat.SelectionMode.ROW; |
507 }, | 507 }, |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
848 | 848 |
849 return { | 849 return { |
850 // All exports are for testing only. | 850 // All exports are for testing only. |
851 SUBALLOCATION_CONTEXT: SUBALLOCATION_CONTEXT, | 851 SUBALLOCATION_CONTEXT: SUBALLOCATION_CONTEXT, |
852 AllocatorDumpNameColumn: AllocatorDumpNameColumn, | 852 AllocatorDumpNameColumn: AllocatorDumpNameColumn, |
853 EffectiveSizeColumn: EffectiveSizeColumn, | 853 EffectiveSizeColumn: EffectiveSizeColumn, |
854 SizeColumn: SizeColumn | 854 SizeColumn: SizeColumn |
855 }; | 855 }; |
856 }); | 856 }); |
857 </script> | 857 </script> |
OLD | NEW |