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

Unified Diff: ui/gfx/render_text_harfbuzz.h

Issue 1819753003: Allow various font weights in gfx. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/render_text_harfbuzz.h
diff --git a/ui/gfx/render_text_harfbuzz.h b/ui/gfx/render_text_harfbuzz.h
index e91effe694bdcbd4eaa9e44970bfbb98c7406c20..b47f8ceee9fde9126fd50cfd3de0a207784db18b 100644
--- a/ui/gfx/render_text_harfbuzz.h
+++ b/ui/gfx/render_text_harfbuzz.h
@@ -79,6 +79,7 @@ struct GFX_EXPORT TextRunHarfBuzz {
int baseline_offset;
int baseline_type;
int font_style;
+ gfx::Font::FontWeight weight;
bool strike;
bool diagonal_strike;
bool underline;

Powered by Google App Engine
This is Rietveld 408576698