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 1819753003: Allow various font weights in gfx. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use the std::tie in resource_bundle Created 4 years, 8 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/linux_font_delegate.h
diff --git a/ui/gfx/linux_font_delegate.h b/ui/gfx/linux_font_delegate.h
index 3a8d7bb86dcb74376d80b16e7ee0d77f31118960..190b89946802659df97a2be1d7cca052bfe7b1b6 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;
};

Powered by Google App Engine
This is Rietveld 408576698