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

Side by Side Diff: tracing/tracing/ui/analysis/single_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/base/iteration_helpers.html"> 8 <link rel="import" href="/tracing/base/iteration_helpers.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/single_event_sub_view.html"> 10 <link rel="import" href="/tracing/ui/analysis/single_event_sub_view.html">
(...skipping 19 matching lines...) Expand all
30 <div id="events"> 30 <div id="events">
31 <tr-ui-a-user-expectation-related-samples-table id="relatedSamples"></tr-u i-a-user-expectation-related-samples-table> 31 <tr-ui-a-user-expectation-related-samples-table id="relatedSamples"></tr-u i-a-user-expectation-related-samples-table>
32 </div> 32 </div>
33 </template> 33 </template>
34 </dom-module> 34 </dom-module>
35 <script> 35 <script>
36 'use strict'; 36 'use strict';
37 37
38 Polymer({ 38 Polymer({
39 is: 'tr-ui-a-single-user-expectation-sub-view', 39 is: 'tr-ui-a-single-user-expectation-sub-view',
40 behaviors: [tr.ui.analysis.behaviors.AnalysisSubView], 40 behaviors: [tr.ui.analysis.AnalysisSubView],
41 41
42 created: function() { 42 created: function() {
43 this.currentSelection_ = undefined; 43 this.currentSelection_ = undefined;
44 }, 44 },
45 45
46 get selection() { 46 get selection() {
47 return this.currentSelection_; 47 return this.currentSelection_;
48 }, 48 },
49 49
50 set selection(selection) { 50 set selection(selection) {
(...skipping 23 matching lines...) Expand all
74 event.rows.push({ 74 event.rows.push({
75 name: 'Total CPU', 75 name: 'Total CPU',
76 value: tr.v.ui.createScalarSpan(ue.totalCpuMs, { 76 value: tr.v.ui.createScalarSpan(ue.totalCpuMs, {
77 unit: tr.v.Unit.byName.timeDurationInMs 77 unit: tr.v.Unit.byName.timeDurationInMs
78 }) 78 })
79 }); 79 });
80 } 80 }
81 } 81 }
82 }); 82 });
83 </script> 83 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/analysis/single_thread_time_slice_sub_view.html ('k') | tracing/tracing/ui/analysis/stacked_pane.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698