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

Unified Diff: chrome/browser/ui/views/content_setting_bubble_contents.cc

Issue 106713004: Remove kEnableResourceContentSettings and all the code that uses it since it's been behind a flag f… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 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/ui/gtk/content_setting_bubble_gtk.cc ('k') | chrome/common/chrome_switches.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/content_setting_bubble_contents.cc
===================================================================
--- chrome/browser/ui/views/content_setting_bubble_contents.cc (revision 239860)
+++ chrome/browser/ui/views/content_setting_bubble_contents.cc (working copy)
@@ -200,20 +200,6 @@
bubble_content_empty = false;
}
- const std::set<std::string>& plugins = bubble_content.resource_identifiers;
- if (!plugins.empty()) {
- if (!bubble_content_empty)
- layout->AddPaddingRow(0, views::kRelatedControlVerticalSpacing);
- PluginFinder* finder = PluginFinder::GetInstance();
- for (std::set<std::string>::const_iterator i(plugins.begin());
- i != plugins.end(); ++i) {
- base::string16 name = finder->FindPluginNameWithIdentifier(*i);
- layout->StartRow(0, kSingleColumnSetId);
- layout->AddView(new views::Label(name));
- bubble_content_empty = false;
- }
- }
-
if (content_setting_bubble_model_->content_type() ==
CONTENT_SETTINGS_TYPE_POPUPS) {
const int kPopupColumnSetId = 2;
« no previous file with comments | « chrome/browser/ui/gtk/content_setting_bubble_gtk.cc ('k') | chrome/common/chrome_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698