Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Unified Diff: ui/gfx/text_constants.h

Issue 25039002: Always aligns text at vertically center (Textfield, Label). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/render_text_win.cc ('k') | ui/views/controls/textfield/native_textfield_views.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/text_constants.h
diff --git a/ui/gfx/text_constants.h b/ui/gfx/text_constants.h
index cafeab4669b7862c1dc2eb90ec53580c66c63e8d..4ac788e6109ec61ab09826065b5415bad1d455cf 100644
--- a/ui/gfx/text_constants.h
+++ b/ui/gfx/text_constants.h
@@ -28,16 +28,6 @@ enum HorizontalAlignment {
ALIGN_RIGHT,
};
-// Vertical text alignment modes.
-enum VerticalAlignment {
- // Align the text's top edge with that of its display area.
- ALIGN_TOP = 0,
- // Align the text's center with that of its display area.
- ALIGN_VCENTER,
- // Align the text's bottom edge with that of its display area.
- ALIGN_BOTTOM,
-};
-
// The directionality modes used to determine the base text direction.
enum DirectionalityMode {
// Use the first strong character's direction.
« no previous file with comments | « ui/gfx/render_text_win.cc ('k') | ui/views/controls/textfield/native_textfield_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698