| 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 e2f2c045052fb973d4c9ea81ab5a3f295c55a787..e70c3808eaf6fa6199cec7b60a04de631175f6b9 100644
|
| --- a/chrome/browser/resources/settings/privacy_page/privacy_page.js
|
| +++ b/chrome/browser/resources/settings/privacy_page/privacy_page.js
|
| @@ -80,6 +80,17 @@ Polymer({
|
| </if>
|
| },
|
|
|
| + /**
|
| + * This is a workaround to connect the remove all button to the subpage.
|
| + * @private
|
| + */
|
| + onRemoveAllCookiesFromSite_: function() {
|
| + var node = /** @type {?SiteDataDetailsSubpageElement} */(this.$$(
|
| + 'site-data-details-subpage'));
|
| + if (node)
|
| + node.removeAll();
|
| + },
|
| +
|
| /** @private */
|
| onSiteSettingsTap_: function() {
|
| settings.navigateTo(settings.Route.SITE_SETTINGS);
|
|
|