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

Side by Side Diff: tracing/tracing/ui/tracks/letter_dot_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, 8 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/tracks/kernel_track.html ('k') | tracing/tracing/ui/tracks/model_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) 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/color_scheme.html"> 8 <link rel="import" href="/tracing/base/color_scheme.html">
9 <link rel="import" href="/tracing/base/sorted_array_utils.html"> 9 <link rel="import" href="/tracing/base/sorted_array_utils.html">
10 <link rel="import" href="/tracing/model/proxy_selectable_item.html"> 10 <link rel="import" href="/tracing/model/proxy_selectable_item.html">
(...skipping 25 matching lines...) Expand all
36 36
37 LetterDotTrack.prototype = { 37 LetterDotTrack.prototype = {
38 __proto__: tr.ui.tracks.Track.prototype, 38 __proto__: tr.ui.tracks.Track.prototype,
39 39
40 decorate: function(viewport) { 40 decorate: function(viewport) {
41 tr.ui.tracks.Track.prototype.decorate.call(this, viewport); 41 tr.ui.tracks.Track.prototype.decorate.call(this, viewport);
42 this.classList.add('letter-dot-track'); 42 this.classList.add('letter-dot-track');
43 this.items_ = undefined; 43 this.items_ = undefined;
44 44
45 this.heading_ = document.createElement('tr-ui-heading'); 45 this.heading_ = document.createElement('tr-ui-heading');
46 this.appendChild(this.heading_); 46 Polymer.dom(this).appendChild(this.heading_);
47 }, 47 },
48 48
49 set heading(heading) { 49 set heading(heading) {
50 this.heading_.heading = heading; 50 this.heading_.heading = heading;
51 }, 51 },
52 52
53 get heading() { 53 get heading() {
54 return this.heading_.heading; 54 return this.heading_.heading;
55 }, 55 },
56 56
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 LetterDot.prototype = { 251 LetterDot.prototype = {
252 __proto__: tr.model.ProxySelectableItem.prototype 252 __proto__: tr.model.ProxySelectableItem.prototype
253 }; 253 };
254 254
255 return { 255 return {
256 LetterDotTrack: LetterDotTrack, 256 LetterDotTrack: LetterDotTrack,
257 LetterDot: LetterDot 257 LetterDot: LetterDot
258 }; 258 };
259 }); 259 });
260 </script> 260 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/tracks/kernel_track.html ('k') | tracing/tracing/ui/tracks/model_track.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698