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

Unified Diff: ui/views/controls/textfield/native_textfield_views.cc

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
Index: ui/views/controls/textfield/native_textfield_views.cc
diff --git a/ui/views/controls/textfield/native_textfield_views.cc b/ui/views/controls/textfield/native_textfield_views.cc
index b72c0eb7716a8ff5a8215355d5ae0113307af7cb..86d9f969b493d9283620cace6888851c2e7d45ef 100644
--- a/ui/views/controls/textfield/native_textfield_views.cc
+++ b/ui/views/controls/textfield/native_textfield_views.cc
@@ -605,11 +605,6 @@ void NativeTextfieldViews::UpdateVerticalMargins() {
OnBoundsChanged(GetBounds());
}
-void NativeTextfieldViews::UpdateVerticalAlignment() {
- GetRenderText()->SetVerticalAlignment(textfield_->vertical_alignment());
- SchedulePaint();
-}
-
bool NativeTextfieldViews::SetFocus() {
return false;
}
« no previous file with comments | « ui/views/controls/textfield/native_textfield_views.h ('k') | ui/views/controls/textfield/native_textfield_views_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698