| Index: ui/gfx/render_text.h
|
| diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h
|
| index a16d06351ea3d8770e2d3b3ae0e6482bb200d594..1e58742b51c8a4cf8322378d9eccdb9ea8e43ef2 100644
|
| --- a/ui/gfx/render_text.h
|
| +++ b/ui/gfx/render_text.h
|
| @@ -209,6 +209,16 @@ void ApplyRenderParams(const FontRenderParams& params,
|
| // for rendering and translation between logical and visual data.
|
| class GFX_EXPORT RenderText {
|
| public:
|
| +// The character used for displaying obscured text.
|
| +// TODO(benrg): GTK uses the first of U+25CF, U+2022, U+2731, U+273A, '*'
|
| +// that's available in the font (find_invisible_char() in gtkentry.c).
|
| +// Use a bullet character on Mac.
|
| +#if defined(OS_MACOSX)
|
| + static constexpr base::char16 kPasswordReplacementChar = 0x2022;
|
| +#else
|
| + static constexpr base::char16 kPasswordReplacementChar = '*';
|
| +#endif
|
| +
|
| virtual ~RenderText();
|
|
|
| // Creates a platform-specific or cross-platform RenderText instance.
|
|
|