Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: ui/views/controls/styled_label.h

Issue 2468403002: Make WebBluetooth chooser consistent on Android and desktops (desktop part) (Closed)
Patch Set: make WebBluetooth chooser consistent on Android and desktops Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698