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

Side by Side Diff: tracing/tracing/ui/analysis/multi_thread_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/ui/analysis/analysis_sub_view.html"> 8 <link rel="import" href="/tracing/ui/analysis/analysis_sub_view.html">
9 <link rel="import" href="/tracing/ui/analysis/multi_event_sub_view.html"> 9 <link rel="import" href="/tracing/ui/analysis/multi_event_sub_view.html">
10 <link rel="import" href="/tracing/ui/analysis/related_events.html"> 10 <link rel="import" href="/tracing/ui/analysis/related_events.html">
(...skipping 14 matching lines...) Expand all
25 } 25 }
26 </style> 26 </style>
27 <div id="content"></div> 27 <div id="content"></div>
28 </template> 28 </template>
29 </dom-module> 29 </dom-module>
30 <script> 30 <script>
31 'use strict'; 31 'use strict';
32 32
33 Polymer({ 33 Polymer({
34 is: 'tr-ui-a-multi-thread-slice-sub-view', 34 is: 'tr-ui-a-multi-thread-slice-sub-view',
35 behaviors: [tr.ui.analysis.behaviors.AnalysisSubView], 35 behaviors: [tr.ui.analysis.AnalysisSubView],
36 36
37 created: function() { 37 created: function() {
38 this.selection_ = undefined; 38 this.selection_ = undefined;
39 }, 39 },
40 40
41 get selection() { 41 get selection() {
42 return this.selection_; 42 return this.selection_;
43 }, 43 },
44 44
45 set selection(selection) { 45 set selection(selection) {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 return false; 86 return false;
87 var childTagName = this.$.content.children[0].tagName; 87 var childTagName = this.$.content.children[0].tagName;
88 if (childTagName === 'TR-UI-A-MULTI-EVENT-SUB-VIEW') 88 if (childTagName === 'TR-UI-A-MULTI-EVENT-SUB-VIEW')
89 return false; 89 return false;
90 90
91 // Using raster task view. 91 // Using raster task view.
92 return true; 92 return true;
93 } 93 }
94 }); 94 });
95 </script> 95 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698