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

Side by Side Diff: tracing/tracing/ui/base/table_header_cell.html

Issue 1923953003: [polymer] Switches .appendChild() to Polymer.dom()...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
« no previous file with comments | « tracing/tracing/ui/base/table.html ('k') | tracing/tracing/ui/base/toolbar_button_test.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) 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
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
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>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/base/table.html ('k') | tracing/tracing/ui/base/toolbar_button_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698