| 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-privacy-page' is the settings page containing privacy and | 7 * 'settings-privacy-page' is the settings page containing privacy and |
| 8 * security settings. | 8 * security settings. |
| 9 * | 9 * |
| 10 * Example: | 10 * Example: |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 /** | 41 /** |
| 42 * The origin selected by the user. | 42 * The origin selected by the user. |
| 43 */ | 43 */ |
| 44 originSelected: { | 44 originSelected: { |
| 45 type: String, | 45 type: String, |
| 46 observer: 'onSelectedOriginChanged_', | 46 observer: 'onSelectedOriginChanged_', |
| 47 } | 47 } |
| 48 }, | 48 }, |
| 49 | 49 |
| 50 ready: function() { |
| 51 this.ContentSettingsTypes = settings.ContentSettingsTypes; |
| 52 }, |
| 53 |
| 50 /** @private */ | 54 /** @private */ |
| 51 onManageCertificatesTap_: function() { | 55 onManageCertificatesTap_: function() { |
| 52 this.$.pages.setSubpageChain(['manage-certificates']); | 56 this.$.pages.setSubpageChain(['manage-certificates']); |
| 53 }, | 57 }, |
| 54 | 58 |
| 55 /** @private */ | 59 /** @private */ |
| 56 onSiteSettingsTap_: function() { | 60 onSiteSettingsTap_: function() { |
| 57 this.$.pages.setSubpageChain(['site-settings']); | 61 this.$.pages.setSubpageChain(['site-settings']); |
| 58 }, | 62 }, |
| 59 | 63 |
| 60 /** @private */ | 64 /** @private */ |
| 61 onClearBrowsingDataTap_: function() { | 65 onClearBrowsingDataTap_: function() { |
| 62 this.$.pages.setSubpageChain(['clear-browsing-data']); | 66 this.$.pages.setSubpageChain(['clear-browsing-data']); |
| 63 }, | 67 }, |
| 64 | 68 |
| 65 onSelectedOriginChanged_: function() { | 69 onSelectedOriginChanged_: function() { |
| 66 this.$.pages.setSubpageChain( | 70 this.$.pages.setSubpageChain( |
| 67 ['site-settings', 'site-settings-category', 'site-details']); | 71 ['site-settings', 'site-settings-category', 'site-details']); |
| 68 }, | 72 }, |
| 69 }); | 73 }); |
| OLD | NEW |