| Index: chrome/browser/resources/settings/site_settings/site_settings_category.js
|
| diff --git a/chrome/browser/resources/settings/site_settings/site_settings_category.js b/chrome/browser/resources/settings/site_settings/site_settings_category.js
|
| index fe3a19cae7e35dc30f8726f262042eee3241215a..6bf06cfceae3c81fd2fc39f04c044f68b2fb19a7 100644
|
| --- a/chrome/browser/resources/settings/site_settings/site_settings_category.js
|
| +++ b/chrome/browser/resources/settings/site_settings/site_settings_category.js
|
| @@ -112,4 +112,20 @@ Polymer({
|
| this.categoryEnabled = enabled;
|
| }.bind(this));
|
| },
|
| +
|
| + /**
|
| + * A handler for the Add Site button.
|
| + * @private
|
| + */
|
| + onAddSiteTap_: function() {
|
| + var dialog = document.createElement('add-site-dialog');
|
| + dialog.category = this.category;
|
| + this.shadowRoot.appendChild(dialog);
|
| +
|
| + dialog.open();
|
| +
|
| + dialog.addEventListener('iron-overlay-closed', function() {
|
| + dialog.remove();
|
| + });
|
| + },
|
| });
|
|
|