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

Side by Side Diff: tracing/tracing/ui/tracks/spacing_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
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="stylesheet" href="/tracing/ui/tracks/spacing_track.css"> 8 <link rel="stylesheet" href="/tracing/ui/tracks/spacing_track.css">
9 9
10 <link rel="import" href="/tracing/ui/base/heading.html"> 10 <link rel="import" href="/tracing/ui/base/heading.html">
(...skipping 12 matching lines...) Expand all
23 var SpacingTrack = tr.ui.b.define('spacing-track', tr.ui.tracks.Track); 23 var SpacingTrack = tr.ui.b.define('spacing-track', tr.ui.tracks.Track);
24 24
25 SpacingTrack.prototype = { 25 SpacingTrack.prototype = {
26 __proto__: tr.ui.tracks.Track.prototype, 26 __proto__: tr.ui.tracks.Track.prototype,
27 27
28 decorate: function(viewport) { 28 decorate: function(viewport) {
29 tr.ui.tracks.Track.prototype.decorate.call(this, viewport); 29 tr.ui.tracks.Track.prototype.decorate.call(this, viewport);
30 this.classList.add('spacing-track'); 30 this.classList.add('spacing-track');
31 31
32 this.heading_ = document.createElement('tr-ui-heading'); 32 this.heading_ = document.createElement('tr-ui-heading');
33 this.appendChild(this.heading_); 33 Polymer.dom(this).appendChild(this.heading_);
34 }, 34 },
35 35
36 addAllEventsMatchingFilterToSelection: function(filter, selection) { 36 addAllEventsMatchingFilterToSelection: function(filter, selection) {
37 } 37 }
38 }; 38 };
39 39
40 return { 40 return {
41 SpacingTrack: SpacingTrack 41 SpacingTrack: SpacingTrack
42 }; 42 };
43 }); 43 });
44 </script> 44 </script>
45 45
OLDNEW
« no previous file with comments | « tracing/tracing/ui/tracks/slice_group_track.html ('k') | tracing/tracing/ui/tracks/stacked_bars_track.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698