| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 | 6 * @fileoverview |
| 7 * 'settings-advanced-page' is the settings page containing the advanced | 7 * 'settings-advanced-page' is the settings page containing the advanced |
| 8 * settings. | 8 * settings. |
| 9 * | 9 * |
| 10 * Example: | 10 * Example: |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 /** | 33 /** |
| 34 * The current active route. | 34 * The current active route. |
| 35 */ | 35 */ |
| 36 currentRoute: { | 36 currentRoute: { |
| 37 type: Object, | 37 type: Object, |
| 38 notify: true, | 38 notify: true, |
| 39 }, | 39 }, |
| 40 }, | 40 }, |
| 41 | 41 |
| 42 behaviors: [SettingsPageVisibility], |
| 43 |
| 42 ready: function() { | 44 ready: function() { |
| 43 this.$.locationCategory.category = | 45 if (this.pageVisible == undefined) { |
| 44 settings.ContentSettingsTypes.GEOLOCATION; | 46 this.setVisiblePages([ |
| 45 }, | 47 'dateTime', |
| 48 'location', |
| 49 'privacy', |
| 50 'bluetooth', |
| 51 'passwordsAndForms', |
| 52 'languages', |
| 53 'downloads', |
| 54 'reset', |
| 55 'a11y' |
| 56 ]); |
| 57 } |
| 58 } |
| 46 }); | 59 }); |
| OLD | NEW |