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

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

Issue 2593503004: [MD settings] remove action menu from all-sites (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « chrome/browser/resources/settings/site_settings/site_list.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9564724efad82dcacfda949e6d5c3fc29b7e5182..bffe5019eb013d759be2c210dc8aec77396848e6 100644
--- a/chrome/browser/resources/settings/site_settings/site_list.js
+++ b/chrome/browser/resources/settings/site_settings/site_list.js
@@ -202,8 +202,8 @@ Polymer({
* @return {boolean}
* @private
*/
- shouldShowMenu_: function(source) {
- return !(this.isExceptionControlled_(source) || this.allSites);
+ isActionMenuHidden_: function(source) {
dpapad 2016/12/21 01:30:59 So it seems shouldShowMenu_ was dead code previous
dschuyler 2016/12/21 02:06:47 That appears to be so.
+ return this.isExceptionControlled_(source) || this.allSites;
},
/**
« no previous file with comments | « chrome/browser/resources/settings/site_settings/site_list.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698