| 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 'settings-about-page' contains version and OS related | 6  * @fileoverview 'settings-about-page' contains version and OS related | 
| 7  * information. | 7  * information. | 
| 8  */ | 8  */ | 
| 9 Polymer({ | 9 Polymer({ | 
| 10   is: 'settings-about-page', | 10   is: 'settings-about-page', | 
|  | 11 | 
|  | 12   behaviors: [RoutableBehavior], | 
|  | 13 | 
|  | 14   properties: { | 
|  | 15     /** | 
|  | 16      * The current active route. | 
|  | 17      */ | 
|  | 18     currentRoute: { | 
|  | 19       type: Object, | 
|  | 20       notify: true, | 
|  | 21     }, | 
|  | 22   }, | 
|  | 23 | 
|  | 24   /** | 
|  | 25    * @type {string} Selector to get the sections. | 
|  | 26    * TODO(michaelpg): replace duplicate docs with @override once b/24294625 | 
|  | 27    * is fixed. | 
|  | 28    */ | 
|  | 29   sectionSelector: 'settings-section', | 
|  | 30 | 
|  | 31    /** @override */ | 
|  | 32   attached: function() { | 
|  | 33     this.scroller = this.parentElement; | 
|  | 34   }, | 
|  | 35 | 
|  | 36 <if expr="chromeos"> | 
|  | 37   /** @private */ | 
|  | 38   onDetailedBuildInfoTap_: function() { | 
|  | 39     var animatedPages = /** @type {!SettingsAnimatedPagesElement} */ ( | 
|  | 40         this.$.pages); | 
|  | 41     animatedPages.setSubpageChain(['detailed-build-info']); | 
|  | 42   }, | 
|  | 43 </if> | 
| 11 }); | 44 }); | 
| OLD | NEW | 
|---|