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

Unified Diff: chrome/browser/ui/gtk/content_setting_bubble_gtk.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: 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
Index: chrome/browser/ui/gtk/content_setting_bubble_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/content_setting_bubble_gtk.cc (revision 239860)
+++ chrome/browser/ui/gtk/content_setting_bubble_gtk.cc (working copy)
@@ -114,27 +114,6 @@
gtk_box_pack_start(GTK_BOX(bubble_content), label, FALSE, FALSE, 0);
}
- const std::set<std::string>& plugins = content.resource_identifiers;
- if (!plugins.empty()) {
- GtkWidget* list_content = gtk_vbox_new(FALSE, ui::kControlSpacing);
-
- PluginFinder* finder = PluginFinder::GetInstance();
- for (std::set<std::string>::const_iterator it = plugins.begin();
- it != plugins.end(); ++it) {
- std::string name = UTF16ToUTF8(finder->FindPluginNameWithIdentifier(*it));
- GtkWidget* label = theme_provider->BuildLabel(
- BuildElidedText(name).c_str(), ui::kGdkBlack);
- GtkWidget* label_box = gtk_hbox_new(FALSE, 0);
- gtk_box_pack_start(GTK_BOX(label_box), label, FALSE, FALSE, 0);
-
- gtk_box_pack_start(GTK_BOX(list_content),
- label_box,
- FALSE, FALSE, 0);
- }
- gtk_box_pack_start(GTK_BOX(bubble_content), list_content, FALSE, FALSE,
- ui::kControlSpacing);
- }
-
if (content_setting_bubble_model_->content_type() ==
CONTENT_SETTINGS_TYPE_POPUPS) {
const std::vector<ContentSettingBubbleModel::PopupItem>& popup_items =

Powered by Google App Engine
This is Rietveld 408576698