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

Unified Diff: ui/views/bubble/bubble_delegate.h

Issue 326963002: [Views] Add a capability to the bubble delegate to be able to show the title in BaseFont. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | ui/views/bubble/bubble_delegate.cc » ('j') | ui/views/bubble/bubble_frame_view.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..31b3a6d5f15f090e6331a451d1edb33ac56d5a9f 100644
--- a/ui/views/bubble/bubble_delegate.h
+++ b/ui/views/bubble/bubble_delegate.h
@@ -49,6 +49,10 @@ class VIEWS_EXPORT BubbleDelegateView : public WidgetDelegateView,
virtual void OnWidgetBoundsChanged(Widget* widget,
const gfx::Rect& new_bounds) OVERRIDE;
+ // Return true to show the bubble title in the base font
+ // (default is MediumFont).
+ virtual bool ShouldShowWindowTitleInBaseFont() const;
msw 2014/06/10 18:16:05 How about GetTitleFontList?
+
bool close_on_esc() const { return close_on_esc_; }
void set_close_on_esc(bool close_on_esc) { close_on_esc_ = close_on_esc; }
« no previous file with comments | « no previous file | ui/views/bubble/bubble_delegate.cc » ('j') | ui/views/bubble/bubble_frame_view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698