| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This Polymer element is used as a container for all the feedback | 5 // This Polymer element is used as a container for all the feedback |
| 6 // elements. Based on a number of factors, it determines which elements | 6 // elements. Based on a number of factors, it determines which elements |
| 7 // to show and what will be submitted to the feedback servers. | 7 // to show and what will be submitted to the feedback servers. |
| 8 Polymer({ | 8 Polymer({ |
| 9 is: 'feedback-container', | 9 is: 'feedback-container', |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * @type {string|undefined} | 22 * @type {string|undefined} |
| 23 */ | 23 */ |
| 24 url: { | 24 url: { |
| 25 type: String, | 25 type: String, |
| 26 }, | 26 }, |
| 27 }, | 27 }, |
| 28 | 28 |
| 29 ready: function() { | 29 ready: function() { |
| 30 // Retrieves the feedback privacy note text, if it exists. On non-official | 30 // Retrieves the feedback privacy note text, if it exists. On non-official |
| 31 // branded builds, the string is not defined. | 31 // branded builds, the string is not defined. |
| 32 this.$.privacyNote.innerHTML = | 32 this.$.privacyNote.innerHTML = loadTimeData.valueExists('privacyNote') ? |
| 33 loadTimeData.valueExists('privacyNote') ? | 33 loadTimeData.getString('privacyNote') : |
| 34 loadTimeData.getString('privacyNote') : ''; | 34 ''; |
| 35 }, | 35 }, |
| 36 }); | 36 }); |
| OLD | NEW |