Chromium Code Reviews| Index: ui/gfx/font_render_params.h |
| diff --git a/ui/gfx/font_render_params.h b/ui/gfx/font_render_params.h |
| index cd7c0a45115c3d7fb364768a31cced9cf9eb4232..219dbfd1b19ab9bcb09c8dd055a2861f3f3f2c43 100644 |
| --- a/ui/gfx/font_render_params.h |
| +++ b/ui/gfx/font_render_params.h |
| @@ -98,6 +98,16 @@ GFX_EXPORT FontRenderParams GetFontRenderParams( |
| // out what's going on here. |
| GFX_EXPORT void ClearFontRenderParamsCacheForTest(); |
| +// Enables/Disables the subpixel positioning in browser process. |
| +#if defined(OS_CHROMEOS) |
| +GFX_EXPORT void SetDeviceScaleFactorForInternalDisplay( |
|
Daniel Erat
2014/08/19 22:32:25
mind renaming this to mention fonts so it's easier
oshima
2014/08/20 01:41:12
Done.
|
| + float device_scale_factor); |
| + |
| +namespace test { |
| +GFX_EXPORT bool GetBrowserTextSubpixelPoisitioningEnabled(); |
|
Daniel Erat
2014/08/19 22:32:25
i don't think you need this; you should be able to
oshima
2014/08/20 01:41:12
Done.
|
| +} |
| +#endif |
| + |
| } // namespace gfx |
| #endif // UI_GFX_FONT_RENDER_PARAMS_H_ |