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 bc571142836650f69f08b19449688089043e82b6..a463e01fe7a311da85112f9f5c27137f00337b66 100644 |
| --- a/ui/views/controls/textfield/textfield.h |
| +++ b/ui/views/controls/textfield/textfield.h |
| @@ -162,10 +162,14 @@ class VIEWS_EXPORT Textfield : public View, |
| placeholder_text_color_ = color; |
| } |
| + SkColor placeholder_text_color() { return placeholder_text_color_; } |
|
vadimt
2017/06/22 00:53:05
const
newcomer
2017/06/22 16:17:22
Done.
|
| + |
| void set_placeholder_text_draw_flags(int flags) { |
| placeholder_text_draw_flags_ = flags; |
| } |
| + int placeholder_text_draw_flags() { return placeholder_text_draw_flags_; } |
|
vadimt
2017/06/22 00:53:05
const
newcomer
2017/06/22 16:17:21
Done.
|
| + |
| // Sets whether to indicate the textfield has invalid content. |
| void SetInvalid(bool invalid); |
| bool invalid() const { return invalid_; } |