Index: ui/views/controls/textfield/textfield.h |
diff --git a/ui/views/controls/textfield/textfield.h b/ui/views/controls/textfield/textfield.h |
index e06a3326c81c3241b6d12072d66752b72fa5981b..fc382615f18df17e6dfac3b216bb5672d936e00c 100644 |
--- a/ui/views/controls/textfield/textfield.h |
+++ b/ui/views/controls/textfield/textfield.h |
@@ -205,6 +205,7 @@ class VIEWS_EXPORT Textfield : public View, |
virtual int GetBaseline() const OVERRIDE; |
virtual gfx::Size GetPreferredSize() const OVERRIDE; |
virtual const char* GetClassName() const OVERRIDE; |
+ virtual void SetBorder(scoped_ptr<Border> b) OVERRIDE; |
virtual gfx::NativeCursor GetCursor(const ui::MouseEvent& event) OVERRIDE; |
virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; |
virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; |
@@ -396,6 +397,9 @@ class VIEWS_EXPORT Textfield : public View, |
scoped_ptr<Painter> focus_painter_; |
+ // Padding beyond the preferred size where text may be painted. |
+ gfx::Insets internal_padding_; |
+ |
// Flags indicating whether various system colors should be used, and if not, |
// what overriding color values should be used instead. |
bool use_default_text_color_; |