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..4d7f6040a091d48c0c49858c8549fcd46e5a801b 100644 |
--- a/ui/views/controls/textfield/textfield.h |
+++ b/ui/views/controls/textfield/textfield.h |
@@ -45,6 +45,9 @@ class VIEWS_EXPORT Textfield : public View, |
// The textfield's class name. |
static const char kViewClassName[]; |
+ // The preferred size of the padding to be used around textfield text. |
+ static const int kTextPadding; |
+ |
// Returns the text cursor blink time in milliseconds, or 0 for no blinking. |
static size_t GetCaretBlinkMs(); |
@@ -202,6 +205,7 @@ class VIEWS_EXPORT Textfield : public View, |
bool HasTextBeingDragged(); |
// View overrides: |
+ virtual gfx::Insets GetInsets() const OVERRIDE; |
virtual int GetBaseline() const OVERRIDE; |
virtual gfx::Size GetPreferredSize() const OVERRIDE; |
virtual const char* GetClassName() const OVERRIDE; |