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

Side by Side Diff: tracing/tracing/ui/tracks/rect_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/rect_track.css"> 8 <link rel="stylesheet" href="/tracing/ui/tracks/rect_track.css">
9 9
10 <link rel="import" href="/tracing/base/sorted_array_utils.html"> 10 <link rel="import" href="/tracing/base/sorted_array_utils.html">
(...skipping 21 matching lines...) Expand all
32 32
33 __proto__: tr.ui.tracks.Track.prototype, 33 __proto__: tr.ui.tracks.Track.prototype,
34 34
35 decorate: function(viewport) { 35 decorate: function(viewport) {
36 tr.ui.tracks.Track.prototype.decorate.call(this, viewport); 36 tr.ui.tracks.Track.prototype.decorate.call(this, viewport);
37 this.classList.add('rect-track'); 37 this.classList.add('rect-track');
38 this.asyncStyle_ = false; 38 this.asyncStyle_ = false;
39 this.rects_ = null; 39 this.rects_ = null;
40 40
41 this.heading_ = document.createElement('tr-ui-heading'); 41 this.heading_ = document.createElement('tr-ui-heading');
42 this.appendChild(this.heading_); 42 Polymer.dom(this).appendChild(this.heading_);
43 }, 43 },
44 44
45 set heading(heading) { 45 set heading(heading) {
46 this.heading_.heading = heading; 46 this.heading_.heading = heading;
47 }, 47 },
48 48
49 get heading() { 49 get heading() {
50 return this.heading_.heading; 50 return this.heading_.heading;
51 }, 51 },
52 52
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 Rect.prototype = { 242 Rect.prototype = {
243 __proto__: tr.model.ProxySelectableItem.prototype 243 __proto__: tr.model.ProxySelectableItem.prototype
244 }; 244 };
245 245
246 return { 246 return {
247 RectTrack: RectTrack, 247 RectTrack: RectTrack,
248 Rect: Rect 248 Rect: Rect
249 }; 249 };
250 }); 250 });
251 </script> 251 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/tracks/process_track_base.html ('k') | tracing/tracing/ui/tracks/ruler_track.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698