Index: trunk/src/ui/views/controls/textfield/textfield.h |
=================================================================== |
--- trunk/src/ui/views/controls/textfield/textfield.h (revision 266071) |
+++ trunk/src/ui/views/controls/textfield/textfield.h (working copy) |
@@ -202,6 +202,8 @@ |
virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; |
virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; |
virtual void OnEnabledChanged() OVERRIDE; |
+ virtual void ViewHierarchyChanged( |
+ const ViewHierarchyChangedDetails& details) OVERRIDE; |
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
virtual void OnFocus() OVERRIDE; |
virtual void OnBlur() OVERRIDE; |
@@ -298,6 +300,9 @@ |
// Updates the painted background color. |
void UpdateBackgroundColor(); |
+ // Updates any colors that have not been explicitly set from the theme. |
+ void UpdateColorsFromTheme(const ui::NativeTheme* theme); |
+ |
// Does necessary updates when the text and/or cursor position changes. |
void UpdateAfterChange(bool text_changed, bool cursor_changed); |