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

Unified Diff: ui/views/controls/textfield/native_textfield_win.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_win.cc
diff --git a/ui/views/controls/textfield/native_textfield_win.cc b/ui/views/controls/textfield/native_textfield_win.cc
index f256570404ca8c4921970a6c56291134a2fdf465..6bc7374eb150d20cd55ac6b30170c870ca6bf0f1 100644
--- a/ui/views/controls/textfield/native_textfield_win.cc
+++ b/ui/views/controls/textfield/native_textfield_win.cc
@@ -302,12 +302,6 @@ void NativeTextfieldWin::UpdateVerticalMargins() {
NOTIMPLEMENTED();
}
-void NativeTextfieldWin::UpdateVerticalAlignment() {
- // Default alignment is vertically centered.
- if (textfield_->vertical_alignment() != gfx::ALIGN_VCENTER)
- NOTIMPLEMENTED();
-}
-
bool NativeTextfieldWin::SetFocus() {
// Focus the associated HWND.
//container_view_->Focus();
« no previous file with comments | « ui/views/controls/textfield/native_textfield_win.h ('k') | ui/views/controls/textfield/native_textfield_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698