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

Unified Diff: ui/gfx/linux_font_delegate.h

Issue 1819753003: Allow various font weights in gfx. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a lost comment and modify a render text unittest to not test black because of test env font con… Created 4 years, 7 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_unittest.cc ('k') | ui/gfx/platform_font.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/linux_font_delegate.h
diff --git a/ui/gfx/linux_font_delegate.h b/ui/gfx/linux_font_delegate.h
index c467f93784a4189ddaf4f95850d8ccc1af04d0af..e48b2c695bec86b21408f4c5e65d7487b5446b76 100644
--- a/ui/gfx/linux_font_delegate.h
+++ b/ui/gfx/linux_font_delegate.h
@@ -33,12 +33,12 @@ class GFX_EXPORT LinuxFontDelegate {
// Returns the default font rendering settings.
virtual FontRenderParams GetDefaultFontRenderParams() const = 0;
- // Returns details about the default UI font. |style_out| holds a bitfield of
- // gfx::Font::Style values.
+ // Returns details about the default UI font.
virtual void GetDefaultFontDescription(
std::string* family_out,
int* size_pixels_out,
- int* style_out,
+ bool* italic_out,
+ Font::Weight* weight_out,
FontRenderParams* params_out) const = 0;
};
« no previous file with comments | « ui/gfx/font_unittest.cc ('k') | ui/gfx/platform_font.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698