Index: ui/views/bubble/bubble_delegate.cc |
diff --git a/ui/views/bubble/bubble_delegate.cc b/ui/views/bubble/bubble_delegate.cc |
index 0b890eca5d0ff4ef21d8eaf1cc65f5d3a8076ced..8e10e79e30b85ead7d02608133b881c0190395f5 100644 |
--- a/ui/views/bubble/bubble_delegate.cc |
+++ b/ui/views/bubble/bubble_delegate.cc |
@@ -131,6 +131,8 @@ View* BubbleDelegateView::GetContentsView() { |
NonClientFrameView* BubbleDelegateView::CreateNonClientFrameView( |
Widget* widget) { |
BubbleFrameView* frame = new BubbleFrameView(margins()); |
+ if (ShouldShowWindowTitleInBaseFont()) |
+ frame->ShowTitleInBaseFont(); |
BubbleBorder::Arrow adjusted_arrow = arrow(); |
if (base::i18n::IsRTL()) |
adjusted_arrow = BubbleBorder::horizontal_mirror(adjusted_arrow); |
@@ -177,6 +179,10 @@ void BubbleDelegateView::OnWidgetBoundsChanged(Widget* widget, |
SizeToContents(); |
} |
+bool BubbleDelegateView::ShouldShowWindowTitleInBaseFont() const { |
+ return false; |
+} |
+ |
View* BubbleDelegateView::GetAnchorView() const { |
return ViewStorage::GetInstance()->RetrieveView(anchor_view_storage_id_); |
} |