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

Unified Diff: chrome/browser/ui/views/bar_control_button.cc

Issue 1682893002: Color the ink drop ripple and hover effects based on theming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unit tests Created 4 years, 10 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: chrome/browser/ui/views/bar_control_button.cc
diff --git a/chrome/browser/ui/views/bar_control_button.cc b/chrome/browser/ui/views/bar_control_button.cc
index cb76a42538f7117dd7876e76e26b4d185b5403a3..93e0d7001397f563b08d4d1397b86af7e094966f 100644
--- a/chrome/browser/ui/views/bar_control_button.cc
+++ b/chrome/browser/ui/views/bar_control_button.cc
@@ -55,6 +55,7 @@ void BarControlButton::OnThemeChanged() {
SetImage(views::CustomButton::STATE_NORMAL, &image);
image = gfx::CreateVectorIcon(id_, 16, SkColorSetA(icon_color, 0xff / 2));
SetImage(views::CustomButton::STATE_DISABLED, &image);
+ set_ink_drop_base_color(icon_color);
bruthig 2016/02/09 21:01:06 Shouldn't some of the other Views use a similar pa
Evan Stade 2016/02/09 22:54:28 like which one?
bruthig 2016/02/10 15:09:54 Nevermind, I follow now.
}
void BarControlButton::OnNativeThemeChanged(const ui::NativeTheme* theme) {

Powered by Google App Engine
This is Rietveld 408576698