| Index: ui/views/controls/textfield/native_textfield_wrapper.h
|
| diff --git a/ui/views/controls/textfield/native_textfield_wrapper.h b/ui/views/controls/textfield/native_textfield_wrapper.h
|
| index f5a6c5d4effbc3390bbaa7d66dfcff1322c2ed49..aaaaa15e08fd17b27893b34d77803a7116ee0777 100644
|
| --- a/ui/views/controls/textfield/native_textfield_wrapper.h
|
| +++ b/ui/views/controls/textfield/native_textfield_wrapper.h
|
| @@ -72,9 +72,6 @@ class VIEWS_EXPORT NativeTextfieldWrapper {
|
| // Updates the background color used when painting the native text field.
|
| virtual void UpdateBackgroundColor() = 0;
|
|
|
| - // Updates the cursor color used when painting the native text field.
|
| - virtual void UpdateCursorColor() = 0;
|
| -
|
| // Updates the read-only state of the native text field.
|
| virtual void UpdateReadOnly() = 0;
|
|
|
| @@ -124,6 +121,10 @@ class VIEWS_EXPORT NativeTextfieldWrapper {
|
| // Returns the currnet cursor position.
|
| virtual size_t GetCursorPosition() const = 0;
|
|
|
| + // Get or set whether or not the cursor is enabled.
|
| + virtual bool GetCursorEnabled() const = 0;
|
| + virtual void SetCursorEnabled(bool enabled) = 0;
|
| +
|
| // Following methods are to forward key/focus related events to the
|
| // views wrapper so that TextfieldViews can handle key inputs without
|
| // having focus.
|
|
|