Chromium Code Reviews| Index: ui/views/bubble/bubble_delegate.h |
| diff --git a/ui/views/bubble/bubble_delegate.h b/ui/views/bubble/bubble_delegate.h |
| index b3d299997f0808da40685a283483443a5701c674..fb8780e2807c44a3a1389d34303fee424a2c3ee8 100644 |
| --- a/ui/views/bubble/bubble_delegate.h |
| +++ b/ui/views/bubble/bubble_delegate.h |
| @@ -12,6 +12,7 @@ |
| #include "ui/views/widget/widget_observer.h" |
| namespace gfx { |
| +class FontList; |
| class Rect; |
| } |
| @@ -49,6 +50,10 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView, |
| virtual void OnWidgetBoundsChanged(Widget* widget, |
| const gfx::Rect& new_bounds) OVERRIDE; |
| + // Return a FontList to use for the title of the bubble. |
| + // (The default is MediumFont). |
| + virtual const gfx::FontList& GetTitleFontList() const; |
|
msw
2014/06/16 22:58:32
nit: make this protected. (or order it below GetAn
Greg Billock
2014/06/17 14:47:47
Good point. Moved below GetBubbleBounds, which is
|
| + |
| bool close_on_esc() const { return close_on_esc_; } |
| void set_close_on_esc(bool close_on_esc) { close_on_esc_ = close_on_esc; } |