| Index: ui/gfx/render_text.h
|
| diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h
|
| index f24633c2583e27c07285ed3c93cd5d605b413207..00fe00c8e734d7bfc0eebaf5bbaee6601c36ef8e 100644
|
| --- a/ui/gfx/render_text.h
|
| +++ b/ui/gfx/render_text.h
|
| @@ -680,6 +680,10 @@ class GFX_EXPORT RenderText {
|
| size_t caret_pos,
|
| LogicalCursorDirection caret_affinity);
|
|
|
| + // Returns the baseline, with which the text best appears vertically centered.
|
| + static int DetermineBaselineCenteringText(const int display_height,
|
| + const FontList& font_list);
|
| +
|
| private:
|
| friend class test::RenderTextTestApi;
|
|
|
|
|