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

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

Issue 2220573004: Caption for the Subresource filter bubble prompt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: xib Created 4 years, 4 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
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 897ac77b012efe11f7e98a78baf006ded8ae63f3..afdac2d9671cb3cb94acc28d4d786fa1a994c5f4 100644
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.h
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.h
@@ -108,6 +108,7 @@ class ContentSettingBubbleModel : public content::NotificationObserver {
BubbleContent();
~BubbleContent();
+ std::string caption;
std::string title;
ListItems list_items;
RadioGroup radio_group;
@@ -179,6 +180,9 @@ class ContentSettingBubbleModel : public content::NotificationObserver {
Profile* profile() const { return profile_; }
Delegate* delegate() const { return delegate_; }
+ void set_caption(const std::string& caption) {
+ bubble_content_.caption = caption;
+ }
void set_title(const std::string& title) { bubble_content_.title = title; }
void add_list_item(const ListItem& item) {
bubble_content_.list_items.push_back(item);

Powered by Google App Engine
This is Rietveld 408576698