Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Unified Diff: chrome/browser/resources/settings/site_settings/site_settings_category.js

Issue 2044963003: Site Settings Desktop: Change how adding site exceptions work. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 ed3abb216059723b1ff989c7f4490106d2e47951..f79344dd1b39f111cf4396b7963305b6f74996d3 100644
--- a/chrome/browser/resources/settings/site_settings/site_settings_category.js
+++ b/chrome/browser/resources/settings/site_settings/site_settings_category.js
@@ -135,20 +135,4 @@ 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();
- });
- },
});

Powered by Google App Engine
This is Rietveld 408576698