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

Unified Diff: ui/gfx/render_text.h

Issue 19666006: Supports FontList in Textfield. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Lets CrOS use multiple fonts in IDS_UI_FONT_FAMILY_CROS. Created 7 years, 5 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
Index: ui/gfx/render_text.h
diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h
index c4d48fd79058f9e81fb51816ea923052d7a02165..8a25d134ec9697d29b3c338408d211d8e39297ac 100644
--- a/ui/gfx/render_text.h
+++ b/ui/gfx/render_text.h
@@ -145,7 +145,7 @@ class UI_EXPORT RenderText {
void SetFontSize(int size);
// Get the first font in |font_list_|.
- const Font& GetFont() const;
+ const Font& GetPrimaryFont() const;
bool cursor_enabled() const { return cursor_enabled_; }
void SetCursorEnabled(bool cursor_enabled);
« ui/gfx/font_list.h ('K') | « ui/gfx/font_list.h ('k') | ui/gfx/render_text.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698