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

Side by Side Diff: tracing/tracing/ui/analysis/alert_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
« no previous file with comments | « no previous file | tracing/tracing/ui/analysis/analysis_sub_view.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2015 The Chromium Authors. All rights reserved. 3 Copyright 2015 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/base.html"> 8 <link rel="import" href="/tracing/base/base.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/model/event_set.html"> 10 <link rel="import" href="/tracing/model/event_set.html">
(...skipping 17 matching lines...) Expand all
28 </style> 28 </style>
29 <tr-ui-b-table id="table"> 29 <tr-ui-b-table id="table">
30 </tr-ui-b-table> 30 </tr-ui-b-table>
31 </template> 31 </template>
32 </dom-module> 32 </dom-module>
33 <script> 33 <script>
34 'use strict'; 34 'use strict';
35 35
36 Polymer({ 36 Polymer({
37 is: 'tr-ui-a-alert-sub-view', 37 is: 'tr-ui-a-alert-sub-view',
38 behaviors: [tr.ui.analysis.behaviors.AnalysisSubView], 38 behaviors: [tr.ui.analysis.AnalysisSubView],
39 39
40 ready: function() { 40 ready: function() {
41 this.currentSelection_ = undefined; 41 this.currentSelection_ = undefined;
42 this.$.table.tableColumns = [ 42 this.$.table.tableColumns = [
43 { 43 {
44 title: 'Label', 44 title: 'Label',
45 value: function(row) { return row.name; }, 45 value: function(row) { return row.name; },
46 width: '150px' 46 width: '150px'
47 }, 47 },
48 { 48 {
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 get relatedEventsToHighlight() { 154 get relatedEventsToHighlight() {
155 if (!this.currentSelection_) 155 if (!this.currentSelection_)
156 return undefined; 156 return undefined;
157 var result = new tr.model.EventSet(); 157 var result = new tr.model.EventSet();
158 for (var event of this.currentSelection_) 158 for (var event of this.currentSelection_)
159 result.addEventSet(event.associatedEvents); 159 result.addEventSet(event.associatedEvents);
160 return result; 160 return result;
161 } 161 }
162 }); 162 });
163 </script> 163 </script>
OLDNEW
« no previous file with comments | « no previous file | tracing/tracing/ui/analysis/analysis_sub_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698