| 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 Polymer({ | 10 Polymer({ |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 /** @private */ | 54 /** @private */ |
| 55 onClearBrowsingDataTap_: function() { | 55 onClearBrowsingDataTap_: function() { |
| 56 this.showClearBrowsingDataDialog_ = true; | 56 this.showClearBrowsingDataDialog_ = true; |
| 57 }, | 57 }, |
| 58 | 58 |
| 59 /** | 59 /** |
| 60 * @param {!Event} event | 60 * @param {!Event} event |
| 61 * @private | 61 * @private |
| 62 */ | 62 */ |
| 63 onIronOverlayClosed_: function(event) { | 63 onIronOverlayClosed_: function(event) { |
| 64 if (Polymer.dom(event).rootTarget.tagName == 'SETTINGS-DIALOG') | 64 if (Polymer.dom(event).rootTarget.tagName == 'CR-DIALOG') |
| 65 this.showClearBrowsingDataDialog_ = false; | 65 this.showClearBrowsingDataDialog_ = false; |
| 66 }, | 66 }, |
| 67 }); | 67 }); |
| OLD | NEW |