Index: ui/views/controls/textfield/native_textfield_views.h |
diff --git a/ui/views/controls/textfield/native_textfield_views.h b/ui/views/controls/textfield/native_textfield_views.h |
index 5d7bf59a24ee1ec266e4dc7440137571a3bd7d7d..d396d3154413104d1ccac601b6d5ea0a39fadee3 100644 |
--- a/ui/views/controls/textfield/native_textfield_views.h |
+++ b/ui/views/controls/textfield/native_textfield_views.h |
@@ -101,7 +101,6 @@ class VIEWS_EXPORT NativeTextfieldViews : public TouchSelectionClientView, |
virtual void UpdateBorder() OVERRIDE; |
virtual void UpdateTextColor() OVERRIDE; |
virtual void UpdateBackgroundColor() OVERRIDE; |
- virtual void UpdateCursorColor() OVERRIDE; |
virtual void UpdateReadOnly() OVERRIDE; |
virtual void UpdateFont() OVERRIDE; |
virtual void UpdateIsObscured() OVERRIDE; |
@@ -186,6 +185,9 @@ class VIEWS_EXPORT NativeTextfieldViews : public TouchSelectionClientView, |
// |textfield_| has STYLE_LOWERCASE style. |
string16 GetTextForDisplay(const string16& text); |
+ // Updates any colors that have not been explicitly set from the theme. |
+ void UpdateColorsFromTheme(const ui::NativeTheme* theme); |
+ |
// A callback function to periodically update the cursor state. |
void UpdateCursor(); |