Index: chrome/browser/views/content_blocked_bubble_contents.cc |
diff --git a/chrome/browser/views/content_blocked_bubble_contents.cc b/chrome/browser/views/content_blocked_bubble_contents.cc |
index e9be34fec5e6e3f1daabc2728bbc46b828bd13f2..21d13457278e66b8e6c99cd39414f62672d868ee 100644 |
--- a/chrome/browser/views/content_blocked_bubble_contents.cc |
+++ b/chrome/browser/views/content_blocked_bubble_contents.cc |
@@ -213,7 +213,13 @@ void ContentSettingBubbleContents::InitControlLayout() { |
const ContentSettingBubbleModel::RadioGroups& radio_groups = |
content_setting_bubble_model_->bubble_content().radio_groups; |
for (ContentSettingBubbleModel::RadioGroups::const_iterator i = |
- radio_groups.begin(); i != radio_groups.end(); ++i) { |
+ radio_groups.begin(); i != radio_groups.end(); ++i) { |
+ if (!i->title.empty()) { |
+ views::Label* title_label = new views::Label(UTF8ToWide(i->title)); |
+ layout->StartRow(0, single_column_set_id); |
+ layout->AddView(title_label); |
+ layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); |
+ } |
const ContentSettingBubbleModel::RadioItems& radio_items = i->radio_items; |
RadioGroup radio_group; |
for (ContentSettingBubbleModel::RadioItems::const_iterator j = |