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

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

Issue 2593503004: [MD settings] remove action menu from all-sites (Closed)
Patch Set: changed comment 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
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) {
+ return this.isExceptionControlled_(source) || this.allSites;
},
/**
« no previous file with comments | « chrome/browser/resources/settings/site_settings/site_list.html ('k') | chrome/test/data/webui/settings/site_list_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698