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

Side by Side Diff: tracing/tracing/ui/analysis/multi_event_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/base.html"> 8 <link rel="import" href="/tracing/base/base.html">
9 <link rel="import" href="/tracing/ui/analysis/analysis_sub_view.html"> 9 <link rel="import" href="/tracing/ui/analysis/analysis_sub_view.html">
10 <link rel="import" href="/tracing/ui/analysis/multi_event_details_table.html"> 10 <link rel="import" href="/tracing/ui/analysis/multi_event_details_table.html">
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 } 44 }
45 </style> 45 </style>
46 <div id="content"></div> 46 <div id="content"></div>
47 </template> 47 </template>
48 </dom-module> 48 </dom-module>
49 <script> 49 <script>
50 'use strict'; 50 'use strict';
51 51
52 Polymer({ 52 Polymer({
53 is: 'tr-ui-a-multi-event-sub-view', 53 is: 'tr-ui-a-multi-event-sub-view',
54 behaviors: [tr.ui.analysis.behaviors.AnalysisSubView], 54 behaviors: [tr.ui.analysis.AnalysisSubView],
55 55
56 created: function() { 56 created: function() {
57 this.currentSelection_ = undefined; 57 this.currentSelection_ = undefined;
58 this.eventsHaveDuration_ = true; 58 this.eventsHaveDuration_ = true;
59 this.eventsHaveSubRows_ = true; 59 this.eventsHaveSubRows_ = true;
60 }, 60 },
61 61
62 set selection(selection) { 62 set selection(selection) {
63 if (selection.length <= 1) 63 if (selection.length <= 1)
64 throw new Error('Only supports multiple items'); 64 throw new Error('Only supports multiple items');
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 var detailsTableEl = document.createElement( 121 var detailsTableEl = document.createElement(
122 'tr-ui-a-multi-event-details-table'); 122 'tr-ui-a-multi-event-details-table');
123 detailsTableEl.eventsHaveDuration = this.eventsHaveDuration_; 123 detailsTableEl.eventsHaveDuration = this.eventsHaveDuration_;
124 detailsTableEl.eventsHaveSubRows = this.eventsHaveSubRows_; 124 detailsTableEl.eventsHaveSubRows = this.eventsHaveSubRows_;
125 detailsTableEl.selection = selection; 125 detailsTableEl.selection = selection;
126 Polymer.dom(this.$.content).appendChild(detailsTableEl); 126 Polymer.dom(this.$.content).appendChild(detailsTableEl);
127 } 127 }
128 } 128 }
129 }); 129 });
130 </script> 130 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/analysis/multi_cpu_slice_sub_view.html ('k') | tracing/tracing/ui/analysis/multi_flow_event_sub_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698