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/info_bar_group.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
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 <link rel='import' href='/tracing/ui/base/info_bar.html'> 7 <link rel='import' href='/tracing/ui/base/info_bar.html'>
8 8
9 <dom-module id='tr-ui-b-info-bar-group'> 9 <dom-module id='tr-ui-b-info-bar-group'>
10 <template> 10 <template>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 this.$.messages.textContent = ''; 52 this.$.messages.textContent = '';
53 this.messages_.forEach(function(message) { 53 this.messages_.forEach(function(message) {
54 var bar = document.createElement('tr-ui-b-info-bar'); 54 var bar = document.createElement('tr-ui-b-info-bar');
55 bar.message = message.text; 55 bar.message = message.text;
56 bar.visible = true; 56 bar.visible = true;
57 57
58 message.buttons.forEach(function(button) { 58 message.buttons.forEach(function(button) {
59 bar.addButton(button.buttonText, button.onClick); 59 bar.addButton(button.buttonText, button.onClick);
60 }, this); 60 }, this);
61 61
62 this.$.messages.appendChild(bar); 62 Polymer.dom(this.$.messages).appendChild(bar);
63 }, this); 63 }, this);
64 } 64 }
65 }); 65 });
66 </script> 66 </script>
OLDNEW
« no previous file with comments | « tracing/tracing/ui/base/info_bar.html ('k') | tracing/tracing/ui/base/list_and_associated_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698