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 e8361774a943830d0a4947204c4de0c6821884d7..dca019aef5efcd980f97e6e9980c3d7795bdd905 100644 |
| --- a/ui/views/controls/textfield/textfield.h |
| +++ b/ui/views/controls/textfield/textfield.h |
| @@ -120,6 +120,9 @@ class VIEWS_EXPORT Textfield : public View, |
| void SetSelectionBackgroundColor(SkColor color); |
| void UseDefaultSelectionBackgroundColor(); |
| + // Sets whether to draw a shadow around the text or not. |
| + void DisplayShadow(bool display_shadow); |
|
tdanderson
2014/06/25 15:48:23
If the instance variable is has_shadow_, this shou
Nina
2014/06/26 15:20:18
Done.
|
| + |
| // Gets/Sets whether or not the cursor is enabled. |
| bool GetCursorEnabled() const; |
| void SetCursorEnabled(bool enabled); |
| @@ -428,6 +431,9 @@ class VIEWS_EXPORT Textfield : public View, |
| base::RepeatingTimer<Textfield> cursor_repaint_timer_; |
| bool cursor_visible_; |
| + // Indicates if the text should be drawn with a shadow. |
| + bool has_shadow_; |
| + |
| // The drop cursor is a visual cue for where dragged text will be dropped. |
| bool drop_cursor_visible_; |
| gfx::SelectionModel drop_cursor_position_; |