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

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

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/label_unittest.cc ('k') | ui/views/controls/link.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/link.h
diff --git a/ui/views/controls/link.h b/ui/views/controls/link.h
index fabecda0da619d09464599b15ec9f0174c0f2fad..928a727664d7377fc3b6ac0bc359279bb4f9db13 100644
--- a/ui/views/controls/link.h
+++ b/ui/views/controls/link.h
@@ -51,6 +51,7 @@ class VIEWS_EXPORT Link : public Label {
void SetText(const base::string16& text) override;
void OnNativeThemeChanged(const ui::NativeTheme* theme) override;
void SetEnabledColor(SkColor color) override;
+ bool IsSelectionSupported() const override;
// TODO(estade): almost all the places that call this pass false. With
// Harmony, false is already the default so those callsites can be removed.
« no previous file with comments | « ui/views/controls/label_unittest.cc ('k') | ui/views/controls/link.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698