| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 this.$.pages.setSubpageChain(['manage-certificates']); | 45 this.$.pages.setSubpageChain(['manage-certificates']); |
| 46 }, | 46 }, |
| 47 | 47 |
| 48 /** @private */ | 48 /** @private */ |
| 49 onSiteSettingsTap_: function() { | 49 onSiteSettingsTap_: function() { |
| 50 this.$.pages.setSubpageChain(['site-settings']); | 50 this.$.pages.setSubpageChain(['site-settings']); |
| 51 }, | 51 }, |
| 52 | 52 |
| 53 /** @private */ | 53 /** @private */ |
| 54 onClearBrowsingDataTap_: function() { | 54 onClearBrowsingDataTap_: function() { |
| 55 this.$.pages.querySelector('settings-clear-browsing-data-page') | 55 this.$.pages.querySelector('settings-clear-browsing-data-dialog').open(); |
| 56 .showClearBrowsingDataDialog(); | |
| 57 }, | 56 }, |
| 58 }); | 57 }); |
| OLD | NEW |