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

Unified Diff: ui/views/controls/textfield/textfield.h

Issue 249813002: [Win] Redesign the avatar bubble UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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
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();

Powered by Google App Engine
This is Rietveld 408576698