| 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 | 10 |
| 11 <dom-module id='tr-ui-a-multi-flow-event-sub-view'> | 11 <dom-module id='tr-ui-a-multi-flow-event-sub-view'> |
| 12 <template> | 12 <template> |
| 13 <style> | 13 <style> |
| 14 :host { | 14 :host { |
| 15 display: flex; | 15 display: flex; |
| 16 } | 16 } |
| 17 </style> | 17 </style> |
| 18 <tr-ui-a-multi-event-sub-view id="content"></tr-ui-a-multi-event-sub-view> | 18 <tr-ui-a-multi-event-sub-view id="content"></tr-ui-a-multi-event-sub-view> |
| 19 </template> | 19 </template> |
| 20 </dom-module> | 20 </dom-module> |
| 21 <script> | 21 <script> |
| 22 'use strict'; | 22 'use strict'; |
| 23 | 23 |
| 24 Polymer({ | 24 Polymer({ |
| 25 is: 'tr-ui-a-multi-flow-event-sub-view', | 25 is: 'tr-ui-a-multi-flow-event-sub-view', |
| 26 behaviors: [tr.ui.analysis.behaviors.AnalysisSubView], | 26 behaviors: [tr.ui.analysis.AnalysisSubView], |
| 27 | 27 |
| 28 ready: function() { | 28 ready: function() { |
| 29 this.$.content.eventsHaveDuration = false; | 29 this.$.content.eventsHaveDuration = false; |
| 30 this.$.content.eventsHaveSubRows = false; | 30 this.$.content.eventsHaveSubRows = false; |
| 31 }, | 31 }, |
| 32 | 32 |
| 33 set selection(selection) { | 33 set selection(selection) { |
| 34 this.$.content.selection = selection; | 34 this.$.content.selection = selection; |
| 35 }, | 35 }, |
| 36 | 36 |
| 37 get selection() { | 37 get selection() { |
| 38 return this.$.content.selection; | 38 return this.$.content.selection; |
| 39 } | 39 } |
| 40 }); | 40 }); |
| 41 </script> | 41 </script> |
| OLD | NEW |