summaryrefslogtreecommitdiffstats
path: root/views/controls/textfield/native_textfield_win.h
diff options
context:
space:
mode:
authoraltimofeev@chromium.org <altimofeev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-10 18:55:49 +0000
committeraltimofeev@chromium.org <altimofeev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-10 18:55:49 +0000
commit8746f6d6d517e9bab21a7851cae4251a62c421f1 (patch)
treec96e6c2615f37bd13957da24043848a0bfb3ac14 /views/controls/textfield/native_textfield_win.h
parent5c13b4a8978c92e8667d2e47914f9eb5e22af43c (diff)
downloadchromium_src-8746f6d6d517e9bab21a7851cae4251a62c421f1.zip
chromium_src-8746f6d6d517e9bab21a7851cae4251a62c421f1.tar.gz
chromium_src-8746f6d6d517e9bab21a7851cae4251a62c421f1.tar.bz2
Implements vertical margins setter for textfield.
After bug fix #r64550, changing horizontal margin doesn't change vertical margins. Unfortunately FindBar has used this bug, so explicit vertical setter was implemented to deal with this issue. BUG=chromium-os:8536 TEST=In chrome use 'ctrl+f' to invoke find bar. Notice that the border is inplace. Review URL: http://codereview.chromium.org/4246002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65686 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/textfield/native_textfield_win.h')
-rw-r--r--views/controls/textfield/native_textfield_win.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/controls/textfield/native_textfield_win.h b/views/controls/textfield/native_textfield_win.h
index 52504c1..b01b87e 100644
--- a/views/controls/textfield/native_textfield_win.h
+++ b/views/controls/textfield/native_textfield_win.h
@@ -60,7 +60,8 @@ class NativeTextfieldWin
virtual void UpdateIsPassword();
virtual void UpdateEnabled();
virtual gfx::Insets CalculateInsets();
- virtual void SetHorizontalMargins(int left, int right);
+ virtual void UpdateHorizontalMargins();
+ virtual void UpdateVerticalMargins();
virtual void SetFocus();
virtual View* GetView();
virtual gfx::NativeView GetTestingHandle() const;