| 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/base/color_scheme.html"> | 8 <link rel="import" href="/tracing/base/color_scheme.html"> |
| 9 <link rel="import" href="/tracing/base/iteration_helpers.html"> | 9 <link rel="import" href="/tracing/base/iteration_helpers.html"> |
| 10 <link rel="import" href="/tracing/base/sorted_array_utils.html"> | 10 <link rel="import" href="/tracing/base/sorted_array_utils.html"> |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 <td>Args:</td><td id="args"></td> | 87 <td>Args:</td><td id="args"></td> |
| 88 </tr> | 88 </tr> |
| 89 </table> | 89 </table> |
| 90 </template> | 90 </template> |
| 91 </dom-module> | 91 </dom-module> |
| 92 <script> | 92 <script> |
| 93 'use strict'; | 93 'use strict'; |
| 94 | 94 |
| 95 Polymer({ | 95 Polymer({ |
| 96 is: 'tr-ui-a-single-thread-time-slice-sub-view', | 96 is: 'tr-ui-a-single-thread-time-slice-sub-view', |
| 97 behaviors: [tr.ui.analysis.behaviors.AnalysisSubView], | 97 behaviors: [tr.ui.analysis.AnalysisSubView], |
| 98 | 98 |
| 99 created: function() { | 99 created: function() { |
| 100 this.currentSelection_ = undefined; | 100 this.currentSelection_ = undefined; |
| 101 }, | 101 }, |
| 102 | 102 |
| 103 get selection() { | 103 get selection() { |
| 104 return this.currentSelection_; | 104 return this.currentSelection_; |
| 105 }, | 105 }, |
| 106 | 106 |
| 107 set selection(selection) { | 107 set selection(selection) { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 169 |
| 170 argsEl.parentElement.style.display = ''; | 170 argsEl.parentElement.style.display = ''; |
| 171 Polymer.dom(argsEl).textContent = ''; | 171 Polymer.dom(argsEl).textContent = ''; |
| 172 Polymer.dom(argsEl).appendChild(argsView); | 172 Polymer.dom(argsEl).appendChild(argsView); |
| 173 } else { | 173 } else { |
| 174 argsEl.parentElement.style.display = 'none'; | 174 argsEl.parentElement.style.display = 'none'; |
| 175 } | 175 } |
| 176 } | 176 } |
| 177 }); | 177 }); |
| 178 </script> | 178 </script> |
| OLD | NEW |