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

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

Issue 2912253003: MD Settings: Show all content settings in Site Details. (Closed)
Patch Set: Review comments. Created 3 years, 7 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_details_permission.js
diff --git a/chrome/browser/resources/settings/site_settings/site_details_permission.js b/chrome/browser/resources/settings/site_settings/site_details_permission.js
index 3408b6fa2edb88212a077d9df5c98575a57e5592..5cb99477cb0aab8b4f68381d2790a32098a018b2 100644
--- a/chrome/browser/resources/settings/site_settings/site_details_permission.js
+++ b/chrome/browser/resources/settings/site_settings/site_details_permission.js
@@ -52,7 +52,6 @@ Polymer({
* @private
*/
siteChanged_: function(site) {
- this.$.details.hidden = true;
this.browserProxy.getExceptionList(this.category).then(
function(exceptionList) {
@@ -60,7 +59,6 @@ Polymer({
if (exceptionList[i].embeddingOrigin == site.embeddingOrigin &&
this.sameOrigin_(exceptionList[i].origin, site.origin)) {
this.$.permission.value = exceptionList[i].setting;
- this.$.details.hidden = false;
break;
}
}
@@ -94,7 +92,6 @@ Polymer({
this.browserProxy.resetCategoryPermissionForOrigin(
this.site.origin, this.site.embeddingOrigin, this.category,
this.site.incognito);
- this.$.details.hidden = true;
},
/**

Powered by Google App Engine
This is Rietveld 408576698