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

Unified Diff: chrome/browser/ui/views/toolbar/toolbar_view.cc

Issue 1724963002: Color the ink drop ripple and hover effects based on theming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky review 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
« no previous file with comments | « chrome/browser/ui/views/toolbar/toolbar_button.cc ('k') | ui/views/animation/ink_drop_animation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/toolbar/toolbar_view.cc
diff --git a/chrome/browser/ui/views/toolbar/toolbar_view.cc b/chrome/browser/ui/views/toolbar/toolbar_view.cc
index b1465e965c23f5408705e842999f59a0f2038678..7792c467a571cedfeafbca79c29e725e0feabd7c 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_view.cc
+++ b/chrome/browser/ui/views/toolbar/toolbar_view.cc
@@ -761,6 +761,11 @@ void ToolbarView::LoadImages() {
gfx::CreateVectorIcon(gfx::VectorIconId::NAVIGATE_HOME,
kButtonSize, normal_color));
app_menu_button_->UpdateIcon();
+
+ back_->set_ink_drop_base_color(normal_color);
+ forward_->set_ink_drop_base_color(normal_color);
+ home_->set_ink_drop_base_color(normal_color);
+ app_menu_button_->set_ink_drop_base_color(normal_color);
} else {
back_->SetImage(views::Button::STATE_NORMAL,
*(tp->GetImageSkiaNamed(IDR_BACK)));
« no previous file with comments | « chrome/browser/ui/views/toolbar/toolbar_button.cc ('k') | ui/views/animation/ink_drop_animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698