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

Unified Diff: ui/gfx/font.h

Issue 79263004: Enables font-related unittests again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced. Created 7 years 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 | « build/android/pylib/gtest/filter/ui_unittests_disabled ('k') | ui/gfx/font.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/font.h
diff --git a/ui/gfx/font.h b/ui/gfx/font.h
index f84bfa2bf6b5e5cad3fda666240b1cbc0b989652..963dde70ffe3584983eaffca2ed8f0255f82e1dd 100644
--- a/ui/gfx/font.h
+++ b/ui/gfx/font.h
@@ -96,9 +96,12 @@ class GFX_EXPORT Font {
// Returns the style of the font.
int GetStyle() const;
- // Returns the font name in UTF-8.
+ // Returns the specified font name in UTF-8.
std::string GetFontName() const;
+ // Returns the actually used font name in UTF-8.
+ std::string GetActualFontNameForTesting() const;
+
// Returns the font size in pixels.
int GetFontSize() const;
« no previous file with comments | « build/android/pylib/gtest/filter/ui_unittests_disabled ('k') | ui/gfx/font.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698