Index: ui/gfx/text_constants.h |
diff --git a/ui/gfx/text_constants.h b/ui/gfx/text_constants.h |
index 93450ea56070d6957379e15733ac24ab14c2d131..08b92b6d978875e7cd69c257b43a48ab73ff3dbf 100644 |
--- a/ui/gfx/text_constants.h |
+++ b/ui/gfx/text_constants.h |
@@ -33,6 +33,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. |