Chromium Code Reviews| 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; |
|
Peter Kasting
2014/09/09 01:33:29
It looks like search_box_view.cc and combobox.cc a
msw
2014/09/09 17:01:06
Not in a clearly good way.
(1) search_box_view.cc
Peter Kasting
2014/09/09 18:27:17
It'd probably be OK to do (a) and claim that Textf
msw
2014/09/09 19:57:20
Then I'll leave this as-is. I see lots of addition
|
| + |
| // 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; |