OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2013 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2013 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/analysis_sub_view.html"> | 8 <link rel="import" href="/tracing/ui/analysis/analysis_sub_view.html"> |
9 <link rel="import" href="/tracing/ui/analysis/multi_event_sub_view.html"> | 9 <link rel="import" href="/tracing/ui/analysis/multi_event_sub_view.html"> |
10 <link rel="import" href="/tracing/ui/analysis/related_events.html"> | 10 <link rel="import" href="/tracing/ui/analysis/related_events.html"> |
(...skipping 14 matching lines...) Expand all Loading... |
25 } | 25 } |
26 </style> | 26 </style> |
27 <div id="content"></div> | 27 <div id="content"></div> |
28 </template> | 28 </template> |
29 </dom-module> | 29 </dom-module> |
30 <script> | 30 <script> |
31 'use strict'; | 31 'use strict'; |
32 | 32 |
33 Polymer({ | 33 Polymer({ |
34 is: 'tr-ui-a-multi-thread-slice-sub-view', | 34 is: 'tr-ui-a-multi-thread-slice-sub-view', |
35 behaviors: [tr.ui.analysis.behaviors.AnalysisSubView], | 35 behaviors: [tr.ui.analysis.AnalysisSubView], |
36 | 36 |
37 created: function() { | 37 created: function() { |
38 this.selection_ = undefined; | 38 this.selection_ = undefined; |
39 }, | 39 }, |
40 | 40 |
41 get selection() { | 41 get selection() { |
42 return this.selection_; | 42 return this.selection_; |
43 }, | 43 }, |
44 | 44 |
45 set selection(selection) { | 45 set selection(selection) { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 return false; | 86 return false; |
87 var childTagName = this.$.content.children[0].tagName; | 87 var childTagName = this.$.content.children[0].tagName; |
88 if (childTagName === 'TR-UI-A-MULTI-EVENT-SUB-VIEW') | 88 if (childTagName === 'TR-UI-A-MULTI-EVENT-SUB-VIEW') |
89 return false; | 89 return false; |
90 | 90 |
91 // Using raster task view. | 91 // Using raster task view. |
92 return true; | 92 return true; |
93 } | 93 } |
94 }); | 94 }); |
95 </script> | 95 </script> |
OLD | NEW |