Chromium Code Reviews| Index: ui/gfx/text_constants.h |
| diff --git a/ui/gfx/text_constants.h b/ui/gfx/text_constants.h |
| index c76adfa3a159c8a92b135c2ca45156736c547edd..986adac73e44bed6d2d02290232e8aeff33e7faa 100644 |
| --- a/ui/gfx/text_constants.h |
| +++ b/ui/gfx/text_constants.h |
| @@ -23,6 +23,13 @@ enum HorizontalAlignment { |
| ALIGN_TO_HEAD, // Align the text to its first strong character's direction. |
| }; |
| +// Vertical text alignment modes. |
| +enum VerticalAlignment { |
| + VALIGN_TOP = 0, // Align the text's top edge with that of its display area. |
|
msw
2015/03/30 19:19:12
nit: one fewer space before the comments on this l
dschuyler
2015/03/31 18:38:14
git cl format insists on adding the spaces back.
msw
2015/04/01 15:07:17
I'd force the spacing tighter (like many other enu
|
| + VALIGN_MIDDLE, // Align the text's middle with that of its display area. |
| + VALIGN_BOTTOM, // Align the text's bottom edge with that of its display area. |
| +}; |
| + |
| // The directionality modes used to determine the base text direction. |
| enum DirectionalityMode { |
| DIRECTIONALITY_FROM_TEXT = 0, // Use the first strong character's direction. |