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

Unified Diff: chrome/browser/ui/website_settings/website_settings.cc

Issue 1766493002: Restore the permission selection listing in the Origin Info Bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/website_settings/website_settings.cc
diff --git a/chrome/browser/ui/website_settings/website_settings.cc b/chrome/browser/ui/website_settings/website_settings.cc
index 755a01d090287e12b9935363a335fb0fe0374415..aa4533cd155c25d1f1ba315ee95d27264cd0e0ba 100644
--- a/chrome/browser/ui/website_settings/website_settings.cc
+++ b/chrome/browser/ui/website_settings/website_settings.cc
@@ -698,13 +698,12 @@ void WebsiteSettings::PresentSitePermissions() {
NULL);
}
- if ((permission_info.setting != CONTENT_SETTING_DEFAULT &&
- permission_info.setting != permission_info.default_setting) ||
- (permission_info.type == CONTENT_SETTINGS_TYPE_KEYGEN &&
+ if (permission_info.type == CONTENT_SETTINGS_TYPE_KEYGEN &&
tab_specific_content_settings()->IsContentBlocked(
- permission_info.type))) {
- permission_info_list.push_back(permission_info);
+ permission_info.type)) {
lgarron 2016/03/04 01:45:29 This was introduced in [1]. To me, it seems like
palmer 2016/03/04 18:43:01 Oh yeah, you are totally right, thanks. Doing this
+ continue;
}
+ permission_info_list.push_back(permission_info);
}
for (const ChooserUIInfo& ui_info : kChooserUIInfo) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698