| 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 Polymer({ | 5 Polymer({ |
| 6 is: 'oobe-welcome-dialog', | 6 is: 'oobe-welcome-dialog', |
| 7 properties: { | 7 properties: { |
| 8 /** | 8 /** |
| 9 * Currently selected system language (display name). | 9 * Currently selected system language (display name). |
| 10 */ | 10 */ |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 onAccessibilityClicked_: function() { | 28 onAccessibilityClicked_: function() { |
| 29 this.fire('accessibility-button-clicked'); | 29 this.fire('accessibility-button-clicked'); |
| 30 }, | 30 }, |
| 31 | 31 |
| 32 onTimezoneClicked_: function() { | 32 onTimezoneClicked_: function() { |
| 33 this.fire('timezone-button-clicked'); | 33 this.fire('timezone-button-clicked'); |
| 34 }, | 34 }, |
| 35 | 35 |
| 36 onNextClicked_: function() { | 36 onNextClicked_: function() { |
| 37 this.fire('next-button-clicked'); | 37 this.fire('next-button-clicked'); |
| 38 } | 38 }, |
| 39 |
| 40 /** |
| 41 * This function formats message for labels. |
| 42 * @param String label i18n string ID. |
| 43 * @param String parameter i18n string parameter. |
| 44 * @private |
| 45 */ |
| 46 formatMessage_: function(label, parameter) { |
| 47 return loadTimeData.getStringF(label, parameter); |
| 48 }, |
| 39 }); | 49 }); |
| OLD | NEW |