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

Unified Diff: public/web/win/WebFontRendering.h

Issue 790733005: Blink side of the change to pass the system font metrics from the browser to the renderer on Windo… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address review comments Created 5 years, 11 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 | « Source/web/win/WebFontRendering.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/win/WebFontRendering.h
diff --git a/public/web/win/WebFontRendering.h b/public/web/win/WebFontRendering.h
index b12d46868a86184b8233bb92c388b3cb428f3c7b..b9205fbc1cb623caee73d06da64c502abcd43ec3 100644
--- a/public/web/win/WebFontRendering.h
+++ b/public/web/win/WebFontRendering.h
@@ -19,6 +19,9 @@ public:
BLINK_EXPORT static void setDeviceScaleFactor(float);
BLINK_EXPORT static void setUseSubpixelPositioning(bool);
BLINK_EXPORT static void addSideloadedFontForTesting(SkTypeface*);
+ BLINK_EXPORT static void setMenuFontMetrics(const wchar_t* familyName, int32_t fontHeight);
+ BLINK_EXPORT static void setSmallCaptionFontMetrics(const wchar_t* familyName, int32_t fontHeight);
+ BLINK_EXPORT static void setStatusFontMetrics(const wchar_t* familyName, int32_t fontHeight);
};
} // namespace blink
« no previous file with comments | « Source/web/win/WebFontRendering.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698