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/iteration_helpers.html"> | 8 <link rel="import" href="/tracing/base/iteration_helpers.html"> |
9 <link rel="import" href="/tracing/base/utils.html"> | 9 <link rel="import" href="/tracing/base/utils.html"> |
10 <link rel="import" href="/tracing/model/event_set.html"> | 10 <link rel="import" href="/tracing/model/event_set.html"> |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 </td> | 77 </td> |
78 </tr> | 78 </tr> |
79 </table> | 79 </table> |
80 </template> | 80 </template> |
81 </dom-module> | 81 </dom-module> |
82 <script> | 82 <script> |
83 'use strict'; | 83 'use strict'; |
84 | 84 |
85 Polymer({ | 85 Polymer({ |
86 is: 'tr-ui-a-single-cpu-slice-sub-view', | 86 is: 'tr-ui-a-single-cpu-slice-sub-view', |
87 behaviors: [tr.ui.analysis.behaviors.AnalysisSubView], | 87 behaviors: [tr.ui.analysis.AnalysisSubView], |
88 | 88 |
89 created: function() { | 89 created: function() { |
90 this.currentSelection_ = undefined; | 90 this.currentSelection_ = undefined; |
91 }, | 91 }, |
92 | 92 |
93 get selection() { | 93 get selection() { |
94 return this.currentSelection_; | 94 return this.currentSelection_; |
95 }, | 95 }, |
96 | 96 |
97 set selection(selection) { | 97 set selection(selection) { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 Polymer.dom(threadLink).textContent = 'Click to select'; | 132 Polymer.dom(threadLink).textContent = 'Click to select'; |
133 runningThreadEl.parentElement.style.display = ''; | 133 runningThreadEl.parentElement.style.display = ''; |
134 Polymer.dom(runningThreadEl).textContent = ''; | 134 Polymer.dom(runningThreadEl).textContent = ''; |
135 Polymer.dom(runningThreadEl).appendChild(threadLink); | 135 Polymer.dom(runningThreadEl).appendChild(threadLink); |
136 } | 136 } |
137 | 137 |
138 root.querySelector('#args').object = cpuSlice.args; | 138 root.querySelector('#args').object = cpuSlice.args; |
139 } | 139 } |
140 }); | 140 }); |
141 </script> | 141 </script> |
OLD | NEW |