Index: chrome/browser/ui/views/content_setting_bubble_contents.cc |
diff --git a/chrome/browser/ui/views/content_setting_bubble_contents.cc b/chrome/browser/ui/views/content_setting_bubble_contents.cc |
index da0754f3db9c9fb1f7932ea737b5f6cb7e290f75..c4407a0e6d4d1f41a2144820dc5d4d33f72ff754 100644 |
--- a/chrome/browser/ui/views/content_setting_bubble_contents.cc |
+++ b/chrome/browser/ui/views/content_setting_bubble_contents.cc |
@@ -212,6 +212,17 @@ void ContentSettingBubbleContents::Init() { |
bubble_content_empty = false; |
} |
+ if (!bubble_content.message.empty()) { |
+ views::Label* message_label = |
+ new views::Label(base::UTF8ToUTF16(bubble_content.message)); |
+ layout->AddPaddingRow(0, views::kUnrelatedControlVerticalSpacing); |
+ message_label->SetMultiLine(true); |
+ message_label->SetHorizontalAlignment(gfx::ALIGN_LEFT); |
+ layout->StartRow(0, kSingleColumnSetId); |
+ layout->AddView(message_label); |
+ bubble_content_empty = false; |
+ } |
+ |
if (!bubble_content.learn_more_link.empty()) { |
learn_more_link_ = |
new views::Link(base::UTF8ToUTF16(bubble_content.learn_more_link)); |