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

Unified Diff: ui/gfx/font.h

Issue 789583002: Updates subpixel positioning and hinting when DSF is changed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GN Created 6 years 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/BUILD.gn ('k') | ui/gfx/font.cc » ('j') | ui/gfx/font_render_params.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/font.h
diff --git a/ui/gfx/font.h b/ui/gfx/font.h
index b65423175b811c98c9cead7d7c21f52e67b97537..1ddc2975af628ca829afb17eccb5f3cf7e181c51 100644
--- a/ui/gfx/font.h
+++ b/ui/gfx/font.h
@@ -9,6 +9,7 @@
#include "base/memory/ref_counted.h"
#include "base/strings/string16.h"
+#include "ui/gfx/font_render_params.h"
#include "ui/gfx/gfx_export.h"
#include "ui/gfx/native_widget_types.h"
@@ -95,7 +96,7 @@ class GFX_EXPORT Font {
int GetFontSize() const;
// Returns an object describing how the font should be rendered.
- const FontRenderParams& GetFontRenderParams() const;
+ FontRenderParams GetFontRenderParams() const;
// Returns the native font handle.
// Lifetime lore:
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/gfx/font.cc » ('j') | ui/gfx/font_render_params.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698