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

Unified Diff: ui/gfx/linux_font_delegate.h

Issue 2031223003: Support underline on Linux again. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the gtk2_ui as well. Created 4 years, 6 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_linux_unittest.cc ('k') | ui/gfx/platform_font_linux.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 e48b2c695bec86b21408f4c5e65d7487b5446b76..12eaf584b5f2c3cc89a7b8bfdd296abe50acbbe7 100644
--- a/ui/gfx/linux_font_delegate.h
+++ b/ui/gfx/linux_font_delegate.h
@@ -33,11 +33,12 @@ class GFX_EXPORT LinuxFontDelegate {
// Returns the default font rendering settings.
virtual FontRenderParams GetDefaultFontRenderParams() const = 0;
- // Returns details about the default UI font.
+ // Returns details about the default UI font. |style_out| holds a bitfield of
+ // gfx::Font::Style values.
virtual void GetDefaultFontDescription(
std::string* family_out,
int* size_pixels_out,
- bool* italic_out,
+ int* style_out,
Font::Weight* weight_out,
FontRenderParams* params_out) const = 0;
};
« no previous file with comments | « ui/gfx/font_render_params_linux_unittest.cc ('k') | ui/gfx/platform_font_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698