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

Side by Side Diff: tracing/tracing/ui/analysis/single_flow_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/iteration_helpers.html"> 8 <link rel="import" href="/tracing/base/iteration_helpers.html">
9 <link rel="import" href="/tracing/model/event_set.html"> 9 <link rel="import" href="/tracing/model/event_set.html">
10 <link rel="import" href="/tracing/ui/analysis/analysis_link.html"> 10 <link rel="import" href="/tracing/ui/analysis/analysis_link.html">
(...skipping 16 matching lines...) Expand all
27 27
28 function createAnalysisLinkTo(event) { 28 function createAnalysisLinkTo(event) {
29 var linkEl = document.createElement('tr-ui-a-analysis-link'); 29 var linkEl = document.createElement('tr-ui-a-analysis-link');
30 linkEl.setSelectionAndContent( 30 linkEl.setSelectionAndContent(
31 new tr.model.EventSet(event), event.userFriendlyName); 31 new tr.model.EventSet(event), event.userFriendlyName);
32 return linkEl; 32 return linkEl;
33 } 33 }
34 34
35 Polymer({ 35 Polymer({
36 is: 'tr-ui-a-single-flow-event-sub-view', 36 is: 'tr-ui-a-single-flow-event-sub-view',
37 behaviors: [tr.ui.analysis.behaviors.AnalysisSubView], 37 behaviors: [tr.ui.analysis.AnalysisSubView],
38 38
39 listeners: { 39 listeners: {
40 'singleEventSubView.customize-rows': 'onCustomizeRows_' 40 'singleEventSubView.customize-rows': 'onCustomizeRows_'
41 }, 41 },
42 42
43 set selection(selection) { 43 set selection(selection) {
44 this.currentSelection_ = selection; 44 this.currentSelection_ = selection;
45 this.$.singleEventSubView.setSelectionWithoutErrorChecks(selection); 45 this.$.singleEventSubView.setSelectionWithoutErrorChecks(selection);
46 }, 46 },
47 47
(...skipping 18 matching lines...) Expand all
66 name: 'From', 66 name: 'From',
67 value: createAnalysisLinkTo(event.startSlice) 67 value: createAnalysisLinkTo(event.startSlice)
68 }); 68 });
69 rows.push({ 69 rows.push({
70 name: 'To', 70 name: 'To',
71 value: createAnalysisLinkTo(event.endSlice) 71 value: createAnalysisLinkTo(event.endSlice)
72 }); 72 });
73 } 73 }
74 }); 74 });
75 </script> 75 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/analysis/single_event_sub_view.html ('k') | tracing/tracing/ui/analysis/single_frame_sub_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698