Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: tracing/tracing/ui/analysis/single_cpu_slice_sub_view.html

Issue 2246173002: Move AnalysisSubView to tr.ui.analysis namespace (Closed) Base URL: https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/analysis/single_async_slice_sub_view.html ('k') | tracing/tracing/ui/analysis/single_event_sub_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698