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

Unified Diff: ui/gfx/platform_font_ios.mm

Issue 382273002: ui/gfx: Allow for font-specific rendering settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review feedback Created 6 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/platform_font_ios.mm
diff --git a/ui/gfx/platform_font_ios.mm b/ui/gfx/platform_font_ios.mm
index aba239b732dfddf5b17c0cc9af9e90109fb3fe3e..03f5ddbe75a6e986c4f8d2770369d96a60ba53fe 100644
--- a/ui/gfx/platform_font_ios.mm
+++ b/ui/gfx/platform_font_ios.mm
@@ -10,6 +10,7 @@
#include "base/strings/sys_string_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "ui/gfx/font.h"
+#include "ui/gfx/font_render_params.h"
namespace gfx {
@@ -75,6 +76,12 @@ int PlatformFontIOS::GetFontSize() const {
return font_size_;
}
+const FontRenderParams& PlatformFontIOS::GetFontRenderParams() const {
+ NOTIMPLEMENTED();
+ static FontRenderParams params;
+ return params;
+}
+
NativeFont PlatformFontIOS::GetNativeFont() const {
return [UIFont fontWithName:base::SysUTF8ToNSString(font_name_)
size:font_size_];

Powered by Google App Engine
This is Rietveld 408576698