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

Side by Side Diff: tracing/tracing/ui/tracks/async_slice_group_track.html

Issue 1922193002: [polymer] Replaces this.appendChild with Polymer.dom(this).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
« no previous file with comments | « tracing/tracing/ui/timeline_track_view.html ('k') | tracing/tracing/ui/tracks/chart_track.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/tracks/multi_row_track.html"> 8 <link rel="import" href="/tracing/ui/tracks/multi_row_track.html">
9 <link rel="import" href="/tracing/ui/tracks/slice_track.html"> 9 <link rel="import" href="/tracing/ui/tracks/slice_track.html">
10 <link rel="import" href="/tracing/ui/base/ui.html"> 10 <link rel="import" href="/tracing/ui/base/ui.html">
(...skipping 17 matching lines...) Expand all
28 28
29 decorate: function(viewport) { 29 decorate: function(viewport) {
30 tr.ui.tracks.MultiRowTrack.prototype.decorate.call(this, viewport); 30 tr.ui.tracks.MultiRowTrack.prototype.decorate.call(this, viewport);
31 this.classList.add('async-slice-group-track'); 31 this.classList.add('async-slice-group-track');
32 this.group_ = undefined; 32 this.group_ = undefined;
33 }, 33 },
34 34
35 addSubTrack_: function(slices) { 35 addSubTrack_: function(slices) {
36 var track = new tr.ui.tracks.SliceTrack(this.viewport); 36 var track = new tr.ui.tracks.SliceTrack(this.viewport);
37 track.slices = slices; 37 track.slices = slices;
38 this.appendChild(track); 38 Polymer.dom(this).appendChild(track);
39 track.asyncStyle = true; 39 track.asyncStyle = true;
40 return track; 40 return track;
41 }, 41 },
42 42
43 get group() { 43 get group() {
44 return this.group_; 44 return this.group_;
45 }, 45 },
46 46
47 set group(group) { 47 set group(group) {
48 this.group_ = group; 48 this.group_ = group;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 } 129 }
130 return subRows; 130 return subRows;
131 } 131 }
132 }; 132 };
133 133
134 return { 134 return {
135 AsyncSliceGroupTrack: AsyncSliceGroupTrack 135 AsyncSliceGroupTrack: AsyncSliceGroupTrack
136 }; 136 };
137 }); 137 });
138 </script> 138 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/timeline_track_view.html ('k') | tracing/tracing/ui/tracks/chart_track.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698