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

Unified Diff: ui/views/controls/link.cc

Issue 2413223003: Views:: Make Labels support text selection. (Closed)
Patch Set: Rebase 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 | « ui/views/controls/link.h ('k') | ui/views/controls/textfield/textfield.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/link.cc
diff --git a/ui/views/controls/link.cc b/ui/views/controls/link.cc
index 352b47c6803215b328c70b5afd39c2ef3b185043..e61140f007658c6345e95910d1ed2e576b1b6495 100644
--- a/ui/views/controls/link.cc
+++ b/ui/views/controls/link.cc
@@ -174,6 +174,10 @@ void Link::SetEnabledColor(SkColor color) {
Label::SetEnabledColor(GetEnabledColor());
}
+bool Link::IsSelectionSupported() const {
+ return false;
+}
+
void Link::SetUnderline(bool underline) {
if (underline_ == underline)
return;
« no previous file with comments | « ui/views/controls/link.h ('k') | ui/views/controls/textfield/textfield.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698