Chromium Code Reviews| Index: ui/views/controls/button/label_button.h |
| diff --git a/ui/views/controls/button/label_button.h b/ui/views/controls/button/label_button.h |
| index 7a6f3eaba34f144567ee418cfb23f39682937f7f..8f23162c87d93b4245f38274ac0807da0d297efe 100644 |
| --- a/ui/views/controls/button/label_button.h |
| +++ b/ui/views/controls/button/label_button.h |
| @@ -46,7 +46,7 @@ class VIEWS_EXPORT LabelButton : public CustomButton, |
| // Gets or sets the text shown on the button. |
| const base::string16& GetText() const; |
| - void SetText(const base::string16& text); |
| + virtual void SetText(const base::string16& text); |
|
sadrul
2016/08/08 20:25:08
Can there a different virtual OnTextChanged() that
Evan Stade
2016/08/08 22:40:54
I just went and made this change, but then I reali
sadrul
2016/08/08 22:56:49
OK
|
| // Sets the text color shown for the specified button |for_state| to |color|. |
| void SetTextColor(ButtonState for_state, SkColor color); |