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

Side by Side Diff: tracing/tracing/ui/analysis/multi_user_expectation_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) 2015 The Chromium Authors. All rights reserved. 3 Copyright (c) 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/model/event_set.html"> 8 <link rel="import" href="/tracing/model/event_set.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_sub_view.html"> 10 <link rel="import" href="/tracing/ui/analysis/multi_event_sub_view.html">
(...skipping 16 matching lines...) Expand all
27 <div id="events"> 27 <div id="events">
28 <tr-ui-a-user-expectation-related-samples-table id="relatedSamples"></tr-u i-a-user-expectation-related-samples-table> 28 <tr-ui-a-user-expectation-related-samples-table id="relatedSamples"></tr-u i-a-user-expectation-related-samples-table>
29 </div> 29 </div>
30 </template> 30 </template>
31 </dom-module> 31 </dom-module>
32 <script> 32 <script>
33 'use strict'; 33 'use strict';
34 34
35 Polymer({ 35 Polymer({
36 is: 'tr-ui-a-multi-interaction-record-sub-view', 36 is: 'tr-ui-a-multi-interaction-record-sub-view',
37 behaviors: [tr.ui.analysis.behaviors.AnalysisSubView], 37 behaviors: [tr.ui.analysis.AnalysisSubView],
38 38
39 created: function() { 39 created: function() {
40 this.currentSelection_ = undefined; 40 this.currentSelection_ = undefined;
41 }, 41 },
42 42
43 set selection(selection) { 43 set selection(selection) {
44 this.currentSelection_ = selection; 44 this.currentSelection_ = selection;
45 this.$.realView.setSelectionWithoutErrorChecks(selection); 45 this.$.realView.setSelectionWithoutErrorChecks(selection);
46 46
47 this.currentSelection_ = selection; 47 this.currentSelection_ = selection;
(...skipping 15 matching lines...) Expand all
63 var selection = new tr.model.EventSet(); 63 var selection = new tr.model.EventSet();
64 this.currentSelection_.forEach(function(ir) { 64 this.currentSelection_.forEach(function(ir) {
65 ir.associatedEvents.forEach(function(event) { 65 ir.associatedEvents.forEach(function(event) {
66 selection.push(event); 66 selection.push(event);
67 }); 67 });
68 }); 68 });
69 return selection; 69 return selection;
70 } 70 }
71 }); 71 });
72 </script> 72 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698