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

Unified Diff: chrome/browser/ui/content_settings/content_setting_bubble_model.h

Issue 777103002: Add the names of plugins to the blocked plugin bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make mergeable by reusing an existing string with existing translation Created 6 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/content_settings/content_setting_bubble_model.h
diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.h b/chrome/browser/ui/content_settings/content_setting_bubble_model.h
index fbd951b76ce5bdb32882972402cb1ee72912669b..81ccd9e39e02531c026eecd2d91f9fee2478ee6a 100644
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.h
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.h
@@ -79,6 +79,7 @@ class ContentSettingBubbleModel : public content::NotificationObserver {
~BubbleContent();
std::string title;
+ base::string16 plugin_names;
PopupItems popup_items;
RadioGroup radio_group;
bool radio_group_enabled;
@@ -132,6 +133,9 @@ class ContentSettingBubbleModel : public content::NotificationObserver {
Profile* profile() const { return profile_; }
void set_title(const std::string& title) { bubble_content_.title = title; }
+ void set_plugin_names(const base::string16& plugin_names) {
+ bubble_content_.plugin_names = plugin_names;
+ }
void add_popup(const PopupItem& popup) {
bubble_content_.popup_items.push_back(popup);
}

Powered by Google App Engine
This is Rietveld 408576698