| Index: chrome/browser/resources/settings/privacy_page/privacy_page.js
|
| diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.js b/chrome/browser/resources/settings/privacy_page/privacy_page.js
|
| index f32e85380289ccf8964eb35d0ebbbd633a9f08f8..1f152149e22362a20ece96056573da13d999afc5 100644
|
| --- a/chrome/browser/resources/settings/privacy_page/privacy_page.js
|
| +++ b/chrome/browser/resources/settings/privacy_page/privacy_page.js
|
| @@ -38,6 +38,9 @@ Polymer({
|
| type: Object,
|
| notify: true,
|
| },
|
| +
|
| + /** @private */
|
| + showClearBrowsingDataDialog_: Boolean,
|
| },
|
|
|
| ready: function() {
|
| @@ -62,6 +65,15 @@ Polymer({
|
|
|
| /** @private */
|
| onClearBrowsingDataTap_: function() {
|
| - this.$.pages.querySelector('settings-clear-browsing-data-dialog').open();
|
| + this.showClearBrowsingDataDialog_ = true;
|
| + },
|
| +
|
| + /**
|
| + * @param {!Event} event
|
| + * @private
|
| + */
|
| + onIronOverlayClosed_: function(event) {
|
| + if (Polymer.dom(event).rootTarget.tagName == 'SETTINGS-DIALOG')
|
| + this.showClearBrowsingDataDialog_ = false;
|
| },
|
| });
|
|
|