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 075827796428dc46e18332ac7f869acdb03255f7..502393380beb68ceca2931823e221914c7153c0d 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); |
| + base::string16 text() const { return text_; } |
|
sky
2016/11/03 13:24:23
const base::string16&?
juncai
2016/11/03 20:26:24
Done.
|
| + |
| // Sets the fonts used by all labels. Can be augemented by styling set by |
| // AddStyleRange and SetDefaultStyle. |
| void SetBaseFontList(const gfx::FontList& font_list); |