OLD | NEW |
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 Loading... |
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 Loading... |
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> |
OLD | NEW |