| 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 /** | 5 /** |
| 6 * @fileoverview Polymer element for displaying material design OOBE. | 6 * @fileoverview Polymer element for displaying material design OOBE. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 Polymer({ | 9 Polymer({ |
| 10 is: 'oobe-welcome-md', | 10 is: 'oobe-welcome-md', |
| (...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 * @param {!{detail: {!OobeTypes.Timezone}}} event | 458 * @param {!{detail: {!OobeTypes.Timezone}}} event |
| 459 * @private | 459 * @private |
| 460 */ | 460 */ |
| 461 onTimezoneSelected_: function(event) { | 461 onTimezoneSelected_: function(event) { |
| 462 var item = event.detail; | 462 var item = event.detail; |
| 463 if (!item) | 463 if (!item) |
| 464 return; | 464 return; |
| 465 | 465 |
| 466 this.screen.onTimezoneSelected_(item.value); | 466 this.screen.onTimezoneSelected_(item.value); |
| 467 }, | 467 }, |
| 468 | |
| 469 /** | |
| 470 * This function formats message for labels. | |
| 471 * @param String label i18n string ID. | |
| 472 * @param String parameter i18n string parameter. | |
| 473 * @private | |
| 474 */ | |
| 475 formatMessage_: function(label, parameter) { | |
| 476 return loadTimeData.getStringF(label, parameter); | |
| 477 }, | |
| 478 }); | 468 }); |
| OLD | NEW |