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

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

Issue 2910153002: Remove views::Label::SetDisabledColor(). Replace with typography colors. (Closed)
Patch Set: rebase for r476345 Created 3 years, 7 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 448adc5536125644679f51930ce13b583348bb90..70bab2b5fd05067655f447b290870bd48e4fe758 100644
--- a/ui/views/controls/link.h
+++ b/ui/views/controls/link.h
@@ -89,8 +89,7 @@ class VIEWS_EXPORT Link : public Label {
void ConfigureFocus();
- SkColor GetEnabledColor();
- SkColor GetPressedColor();
+ SkColor GetColor();
LinkListener* listener_;
@@ -104,10 +103,6 @@ class VIEWS_EXPORT Link : public Label {
SkColor requested_enabled_color_;
bool requested_enabled_color_set_;
- // The color when the link is pressed.
- SkColor requested_pressed_color_;
- bool requested_pressed_color_set_;
-
DISALLOW_COPY_AND_ASSIGN(Link);
};

Powered by Google App Engine
This is Rietveld 408576698