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

Side by Side Diff: tracing/tracing/ui/analysis/multi_sample_sub_view.html

Issue 1923953003: [polymer] Switches .appendChild() to Polymer.dom()...appendChild() (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Created 4 years, 7 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/multi_dimensional_view.html"> 8 <link rel="import" href="/tracing/base/multi_dimensional_view.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/base/table.html"> 10 <link rel="import" href="/tracing/ui/base/table.html">
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 }, 72 },
73 { 73 {
74 label: 'Top-down (Heavy)', 74 label: 'Top-down (Heavy)',
75 value: tr.b.MultiDimensionalViewType.TOP_DOWN_HEAVY_VIEW 75 value: tr.b.MultiDimensionalViewType.TOP_DOWN_HEAVY_VIEW
76 }, 76 },
77 { 77 {
78 label: 'Bottom-up (Heavy)', 78 label: 'Bottom-up (Heavy)',
79 value: tr.b.MultiDimensionalViewType.BOTTOM_UP_HEAVY_VIEW 79 value: tr.b.MultiDimensionalViewType.BOTTOM_UP_HEAVY_VIEW
80 } 80 }
81 ]); 81 ]);
82 this.$.control.appendChild(viewSelector); 82 Polymer.dom(this.$.control).appendChild(viewSelector);
83 this.$.table.selectionMode = tr.ui.b.TableFormat.SelectionMode.ROW; 83 this.$.table.selectionMode = tr.ui.b.TableFormat.SelectionMode.ROW;
84 }, 84 },
85 85
86 // TODO(polymer): Convert to Polymer property. 86 // TODO(polymer): Convert to Polymer property.
87 get selection() { 87 get selection() {
88 return this.selection_; 88 return this.selection_;
89 }, 89 },
90 90
91 set selection(selection) { 91 set selection(selection) {
92 this.selection_ = selection; 92 this.selection_ = selection;
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 }, 258 },
259 width: '60px', 259 width: '60px',
260 cmp: function(a, b) { 260 cmp: function(a, b) {
261 return a[field] - b[field]; 261 return a[field] - b[field];
262 } 262 }
263 }; 263 };
264 } 264 }
265 }); 265 });
266 })(); 266 })();
267 </script> 267 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/analysis/multi_object_sub_view.html ('k') | tracing/tracing/ui/analysis/multi_thread_slice_sub_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698