Index: ui/gfx/text_constants.h |
diff --git a/ui/gfx/text_constants.h b/ui/gfx/text_constants.h |
index c76adfa3a159c8a92b135c2ca45156736c547edd..66b2b9abc267a642a6b809f1a456bdbb1ceb68f1 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. |
+ 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. |