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

Unified Diff: ui/views/controls/button/vector_icon_button.cc

Issue 2340503002: Fix appearance of disabled VectorIconButtons. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « ui/views/controls/button/vector_icon_button.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/vector_icon_button.cc
diff --git a/ui/views/controls/button/vector_icon_button.cc b/ui/views/controls/button/vector_icon_button.cc
index 0fb2248b0472333595f5493296e004c59dd0804d..d40ba0574cd2bfb6aa0af0f61673ca49423c4ad4 100644
--- a/ui/views/controls/button/vector_icon_button.cc
+++ b/ui/views/controls/button/vector_icon_button.cc
@@ -46,10 +46,6 @@ void VectorIconButton::SetIcon(gfx::VectorIconId id) {
}
}
-void VectorIconButton::OnEnabledChanged() {
- OnThemeChanged();
-}
-
void VectorIconButton::OnThemeChanged() {
SkColor icon_color =
color_utils::DeriveDefaultIconColor(delegate_->GetVectorIconBaseColor());
« no previous file with comments | « ui/views/controls/button/vector_icon_button.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698