 Chromium Code Reviews
 Chromium Code Reviews Issue 1973733002:
  MD Settings: About page, setup for showing a sub-page.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 1973733002:
  MD Settings: About page, setup for showing a sub-page.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| 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], | |
| 
Dan Beam
2016/05/12 18:29:46
probably just need to add this as a compiled_resou
 
dpapad
2016/05/12 18:46:27
Added to compiled_resources2.gyp. The HTML import
 | |
| 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 this.$.pages.setSubpageChain(['detailed-build-info']); | |
| 40 }, | |
| 41 </if> | |
| 11 }); | 42 }); | 
| OLD | NEW |