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

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

Issue 2468403002: Make WebBluetooth chooser consistent on Android and desktops (desktop part) (Closed)
Patch Set: address comments 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
« no previous file with comments | « chrome/browser/ui/views/website_settings/chooser_bubble_ui_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..503f356ad4fbd979ff2a0b21f3b2ad4b2d556cfa 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);
+ const base::string16& text() const { return text_; }
+
// Sets the fonts used by all labels. Can be augemented by styling set by
// AddStyleRange and SetDefaultStyle.
void SetBaseFontList(const gfx::FontList& font_list);
« no previous file with comments | « chrome/browser/ui/views/website_settings/chooser_bubble_ui_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698