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

Unified Diff: ui/gfx/platform_font_win.h

Issue 2054273002: Font fallback for UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually delete old TextAnalysisSource Created 4 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
Index: ui/gfx/platform_font_win.h
diff --git a/ui/gfx/platform_font_win.h b/ui/gfx/platform_font_win.h
index 1cb0c9992f25b385fd9698680017c65e2aa2f07d..87bc4bbdc58c8fb903e0a705a23043e61af7a9a3 100644
--- a/ui/gfx/platform_font_win.h
+++ b/ui/gfx/platform_font_win.h
@@ -15,9 +15,16 @@
#include "ui/gfx/platform_font.h"
struct IDWriteFactory;
+struct IDWriteFont;
namespace gfx {
+// Returns the family name for the |IDWriteFont| interface passed in.
+// The family name is returned in the |family_name_ret| parameter.
msw 2016/06/23 20:59:38 nit: rename the param |family_name| or |family_nam
Ilya Kulshin 2016/06/24 20:48:24 Done.
+// Returns S_OK on success.
+HRESULT GetFamilyNameFromDirectWriteFont(IDWriteFont* dwrite_font,
msw 2016/06/23 20:59:38 nit: move below class decl
Ilya Kulshin 2016/06/24 20:48:24 Done.
+ base::string16* family_name_ret);
+
class GFX_EXPORT PlatformFontWin : public PlatformFont {
public:
PlatformFontWin();

Powered by Google App Engine
This is Rietveld 408576698