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/ui/analysis/memory_dump_overview_pane.html"> | 8 <link rel="import" href="/tracing/ui/analysis/memory_dump_overview_pane.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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 <!-- Aggregation mode selector (added in Polymer.ready()) --> | 44 <!-- Aggregation mode selector (added in Polymer.ready()) --> |
45 </div> | 45 </div> |
46 </template> | 46 </template> |
47 </dom-module> | 47 </dom-module> |
48 <script> | 48 <script> |
49 'use strict'; | 49 'use strict'; |
50 | 50 |
51 tr.exportTo('tr.ui.analysis', function() { | 51 tr.exportTo('tr.ui.analysis', function() { |
52 Polymer({ | 52 Polymer({ |
53 is: 'tr-ui-a-memory-dump-header-pane', | 53 is: 'tr-ui-a-memory-dump-header-pane', |
54 behaviors: [tr.ui.analysis.behaviors.StackedPane], | 54 behaviors: [tr.ui.analysis.StackedPane], |
55 | 55 |
56 created: function() { | 56 created: function() { |
57 this.containerMemoryDumps_ = undefined; | 57 this.containerMemoryDumps_ = undefined; |
58 }, | 58 }, |
59 | 59 |
60 ready: function() { | 60 ready: function() { |
61 Polymer.dom(this.$.aggregation_mode_container).appendChild( | 61 Polymer.dom(this.$.aggregation_mode_container).appendChild( |
62 tr.ui.b.createSelector(this, 'aggregationMode', | 62 tr.ui.b.createSelector(this, 'aggregationMode', |
63 'memoryDumpHeaderPane.aggregationMode', | 63 'memoryDumpHeaderPane.aggregationMode', |
64 tr.ui.analysis.MemoryColumn.AggregationMode.DIFF, [ | 64 tr.ui.analysis.MemoryColumn.AggregationMode.DIFF, [ |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 }); | 167 }); |
168 overviewPane.aggregationMode = this.aggregationMode; | 168 overviewPane.aggregationMode = this.aggregationMode; |
169 return overviewPane; | 169 return overviewPane; |
170 }.bind(this); | 170 }.bind(this); |
171 } | 171 } |
172 }); | 172 }); |
173 | 173 |
174 return {}; | 174 return {}; |
175 }); | 175 }); |
176 </script> | 176 </script> |
OLD | NEW |