OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <!-- |
| 3 Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 4 Use of this source code is governed by a BSD-style license that can be |
| 5 found in the LICENSE file. |
| 6 --> |
| 7 |
| 8 <link rel="import" href="/tracing/ui/analysis/analysis_sub_view.html"> |
| 9 <link rel="import" href="/tracing/ui/extras/v8/gc_objects_stats_table.html"> |
| 10 |
| 11 <dom-module id='tr-ui-e-multi-v8-gc-stats-thread-slice-sub-view'> |
| 12 <template> |
| 13 <style> |
| 14 </style> |
| 15 <tr-ui-e-v8-gc-objects-stats-table id="gcObjectsStats"> |
| 16 </tr-ui-e-v8-gc-objects-stats-table> |
| 17 </template> |
| 18 </dom-module> |
| 19 |
| 20 <script> |
| 21 'use strict'; |
| 22 |
| 23 Polymer({ |
| 24 is: 'tr-ui-e-multi-v8-gc-stats-thread-slice-sub-view', |
| 25 behaviors: [tr.ui.analysis.AnalysisSubView], |
| 26 |
| 27 get selection() { |
| 28 return this.$.content.selection; |
| 29 }, |
| 30 |
| 31 set selection(selection) { |
| 32 this.$.gcObjectsStats.selection = selection; |
| 33 } |
| 34 }); |
| 35 |
| 36 tr.ui.analysis.AnalysisSubView.register( |
| 37 'tr-ui-e-multi-v8-gc-stats-thread-slice-sub-view', |
| 38 tr.e.v8.V8GCStatsThreadSlice, |
| 39 { |
| 40 multi: true, |
| 41 title: 'V8 GC Stats slices' |
| 42 } |
| 43 ); |
| 44 |
| 45 </script> |
OLD | NEW |