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

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

Issue 2323693002: Site Settings Desktop: Implement Zoom Levels category. (Closed)
Patch Set: Address feedback Created 4 years, 3 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_list.js
diff --git a/chrome/browser/resources/settings/site_settings/site_list.js b/chrome/browser/resources/settings/site_settings/site_list.js
index 5d0deacd41fbd41ed55aee18dd4c5bc7dce3a2ab..bfd2331aa6590741e73a27a24df1e43b93b40173 100644
--- a/chrome/browser/resources/settings/site_settings/site_list.js
+++ b/chrome/browser/resources/settings/site_settings/site_list.js
@@ -281,9 +281,10 @@ Polymer({
if (settings.ContentSettingsTypes[type] ==
settings.ContentSettingsTypes.PROTOCOL_HANDLERS ||
settings.ContentSettingsTypes[type] ==
- settings.ContentSettingsTypes.USB_DEVICES) {
- // Protocol handlers and USB devices don't have data stored the way all
- // the other categories do.
+ settings.ContentSettingsTypes.USB_DEVICES ||
+ settings.ContentSettingsTypes[type] ==
+ settings.ContentSettingsTypes.ZOOM_LEVELS) {
+ // Some categories store their data in a custom way.
continue;
}

Powered by Google App Engine
This is Rietveld 408576698