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

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

Issue 2413223003: Views:: Make Labels support text selection. (Closed)
Patch Set: Created 4 years, 2 months 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/link.h
diff --git a/ui/views/controls/link.h b/ui/views/controls/link.h
index 692c29e34fd3ec0cba559f5e9dce667996a02a17..062525ac11af00cc24810b79b2d86f9111136307 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.

Powered by Google App Engine
This is Rietveld 408576698