Index: ui/gfx/font_render_params.h |
diff --git a/ui/gfx/font_render_params.h b/ui/gfx/font_render_params.h |
index b460c6d88b8b8d549cf20ae9162799176887315b..88382ec6080c9d6f90611ccba9b7221068635917 100644 |
--- a/ui/gfx/font_render_params.h |
+++ b/ui/gfx/font_render_params.h |
@@ -10,6 +10,7 @@ |
#include "build/build_config.h" |
#include "third_party/skia/include/core/SkFontHost.h" |
+#include "ui/gfx/font.h" |
#include "ui/gfx/gfx_export.h" |
namespace gfx { |
@@ -91,6 +92,9 @@ struct GFX_EXPORT FontRenderParamsQuery { |
// gfx::Font::FontStyle bit field, or -1 if unset. |
int style; |
+ // Weight of the font. Weight::NORMAL by default. |
+ gfx::Font::Weight weight; |
+ |
// The device scale factor of the display, or 0 if unset. |
float device_scale_factor; |
}; |