| 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      */ | 
| 11     currentLanguage: { | 11     currentLanguage: { | 
| 12       type: String, | 12       type: String, | 
| 13       value: '', | 13       value: '', | 
| 14     }, | 14     }, | 
|  | 15     /** | 
|  | 16      * Controls visibility of "Timezone" button. | 
|  | 17      */ | 
|  | 18     timezoneButtonVisible: { | 
|  | 19       type: Boolean, | 
|  | 20       value: false, | 
|  | 21     }, | 
| 15   }, | 22   }, | 
| 16 | 23 | 
| 17   onLanguageClicked_: function() { | 24   onLanguageClicked_: function() { | 
| 18     this.fire('language-button-clicked'); | 25     this.fire('language-button-clicked'); | 
| 19   }, | 26   }, | 
| 20 | 27 | 
| 21   onAccessibilityClicked_: function() { | 28   onAccessibilityClicked_: function() { | 
| 22     this.fire('accessibility-button-clicked'); | 29     this.fire('accessibility-button-clicked'); | 
| 23   }, | 30   }, | 
| 24 | 31 | 
|  | 32   onTimezoneClicked_: function() { | 
|  | 33     this.fire('timezone-button-clicked'); | 
|  | 34   }, | 
|  | 35 | 
| 25   onNextClicked_: function() { | 36   onNextClicked_: function() { | 
| 26     this.fire('next-button-clicked'); | 37     this.fire('next-button-clicked'); | 
| 27   } | 38   } | 
| 28 }); | 39 }); | 
| OLD | NEW | 
|---|