OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2014 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2014 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/utils.html"> | 8 <link rel="import" href="/tracing/base/utils.html"> |
9 <link rel="import" href="/tracing/ui/base/dom_helpers.html"> | 9 <link rel="import" href="/tracing/ui/base/dom_helpers.html"> |
10 | 10 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 this.cellTitle_ = ''; | 50 this.cellTitle_ = ''; |
51 }, | 51 }, |
52 | 52 |
53 set cellTitle(value) { | 53 set cellTitle(value) { |
54 this.cellTitle_ = value; | 54 this.cellTitle_ = value; |
55 | 55 |
56 var titleNode = | 56 var titleNode = |
57 tr.ui.b.asHTMLOrTextNode(this.cellTitle_, this.ownerDocument); | 57 tr.ui.b.asHTMLOrTextNode(this.cellTitle_, this.ownerDocument); |
58 | 58 |
59 this.$.title.innerText = ''; | 59 this.$.title.innerText = ''; |
60 this.$.title.appendChild(titleNode); | 60 Polymer.dom(this.$.title).appendChild(titleNode); |
61 }, | 61 }, |
62 | 62 |
63 get cellTitle() { | 63 get cellTitle() { |
64 return this.cellTitle_; | 64 return this.cellTitle_; |
65 }, | 65 }, |
66 | 66 |
67 clearSideContent: function() { | 67 clearSideContent: function() { |
68 this.$.side.textContent = ''; | 68 this.$.side.textContent = ''; |
69 }, | 69 }, |
70 | 70 |
(...skipping 13 matching lines...) Expand all Loading... |
84 get tapCallback() { | 84 get tapCallback() { |
85 return this.tapCallback_; | 85 return this.tapCallback_; |
86 }, | 86 }, |
87 | 87 |
88 onTap_: function() { | 88 onTap_: function() { |
89 if (this.tapCallback_) | 89 if (this.tapCallback_) |
90 this.tapCallback_(); | 90 this.tapCallback_(); |
91 } | 91 } |
92 }); | 92 }); |
93 </script> | 93 </script> |
OLD | NEW |