Index: ui/views/controls/textfield/textfield.h |
diff --git a/ui/views/controls/textfield/textfield.h b/ui/views/controls/textfield/textfield.h |
index 2bfb6a7323bf658e1287783dfeb8aefd8a0442b8..4eeeaf294d51ce9b8fc7d81265f3972ac6b87749 100644 |
--- a/ui/views/controls/textfield/textfield.h |
+++ b/ui/views/controls/textfield/textfield.h |
@@ -131,6 +131,11 @@ class VIEWS_EXPORT Textfield : public View, |
placeholder_text_color_ = color; |
} |
+ // Get or set the horizontal alignment used for the button from the underlying |
+ // RenderText object. |
+ gfx::HorizontalAlignment GetHorizontalAlignment() const; |
+ void SetHorizontalAlignment(gfx::HorizontalAlignment alignment); |
+ |
// Displays a virtual keyboard or alternate input view if enabled. |
void ShowImeIfNeeded(); |