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

Unified Diff: ui/gfx/font.h

Issue 2441343003: Allow the default generic font family settings to find the first available font (Closed)
Patch Set: Add more tests Created 4 years, 2 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/font.h
diff --git a/ui/gfx/font.h b/ui/gfx/font.h
index e33bb680f6a690de88499a4483a3630a04220fd9..b6a7ec67ce550bb39e238fc956112321311fdca8 100644
--- a/ui/gfx/font.h
+++ b/ui/gfx/font.h
@@ -130,6 +130,8 @@ class GFX_EXPORT Font {
// static_cast to a known implementation type if needed.
PlatformFont* platform_font() const { return platform_font_.get(); }
+ static std::string FirstAvailableOrFirst(const std::string&);
msw 2016/10/26 20:33:49 Add a comment, what's the difference between "firs
msw 2016/10/26 20:33:49 Is this actually needed as part of the gfx::font a
+
private:
// Wrapped platform font implementation.
scoped_refptr<PlatformFont> platform_font_;

Powered by Google App Engine
This is Rietveld 408576698