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

Unified Diff: ui/gfx/font_render_params_android.cc

Issue 382273002: ui/gfx: Allow for font-specific rendering settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix fontconfig leak 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
« no previous file with comments | « ui/gfx/font_render_params.h ('k') | ui/gfx/font_render_params_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/font_render_params_android.cc
diff --git a/ui/gfx/font_render_params_android.cc b/ui/gfx/font_render_params_android.cc
index 134ba70f3d0c137325444cb6db05e8747c3bdab0..0d5650042fb151378ebead17b5fa8b9e848f9c7b 100644
--- a/ui/gfx/font_render_params_android.cc
+++ b/ui/gfx/font_render_params_android.cc
@@ -4,6 +4,8 @@
#include "ui/gfx/font_render_params.h"
+#include "base/logging.h"
+
namespace gfx {
namespace {
@@ -33,6 +35,16 @@ const FontRenderParams& GetDefaultFontRenderParams() {
return default_params;
}
+FontRenderParams GetCustomFontRenderParams(
+ bool for_web_contents,
+ const std::vector<std::string>* family_list,
+ const int* pixel_size,
+ const int* point_size,
+ std::string* family_out) {
+ NOTIMPLEMENTED();
+ return GetDefaultFontRenderParams();
+}
+
const FontRenderParams& GetDefaultWebKitFontRenderParams() {
return GetDefaultFontRenderParams();
}
« no previous file with comments | « ui/gfx/font_render_params.h ('k') | ui/gfx/font_render_params_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698