Chromium Code Reviews| Index: ui/views/controls/styled_label.h |
| diff --git a/ui/views/controls/styled_label.h b/ui/views/controls/styled_label.h |
| index 503f356ad4fbd979ff2a0b21f3b2ad4b2d556cfa..5ed7abac288e58e90cacf78592ef598eaaef52d2 100644 |
| --- a/ui/views/controls/styled_label.h |
| +++ b/ui/views/controls/styled_label.h |
| @@ -68,6 +68,8 @@ class VIEWS_EXPORT StyledLabel : public View, public LinkListener { |
| // Sets the text to be displayed, and clears any previous styling. |
| void SetText(const base::string16& text); |
| + void set_listener(StyledLabelListener* listener) { listener_ = listener; } |
|
sky
2016/11/09 17:55:48
I would prefer not to expose this. I think it's mo
juncai
2016/11/09 20:25:02
Done.
|
| + |
| const base::string16& text() const { return text_; } |
| // Sets the fonts used by all labels. Can be augemented by styling set by |