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

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

Issue 2305933002: Update dialog close buttons to use vector icons and ripples. (Closed)
Patch Set: always good to compile 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 | « chrome/browser/ui/views/infobars/infobar_view.cc ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/toolbar/reload_button.cc
diff --git a/chrome/browser/ui/views/toolbar/reload_button.cc b/chrome/browser/ui/views/toolbar/reload_button.cc
index 6a73e53425d92f9b6687bb99114813e25b01b11e..1394a2e279cf50ce5a24e7f54b69ea60d0ec918f 100644
--- a/chrome/browser/ui/views/toolbar/reload_button.cc
+++ b/chrome/browser/ui/views/toolbar/reload_button.cc
@@ -237,15 +237,14 @@ void ReloadButton::ChangeModeInternal(Mode mode) {
const gfx::VectorIconId icon_id = (mode == MODE_RELOAD)
? gfx::VectorIconId::NAVIGATE_RELOAD
: gfx::VectorIconId::NAVIGATE_STOP;
- const int kButtonSize = 16;
const SkColor normal_color =
tp->GetColor(ThemeProperties::COLOR_TOOLBAR_BUTTON_ICON);
const SkColor disabled_color =
tp->GetColor(ThemeProperties::COLOR_TOOLBAR_BUTTON_ICON_INACTIVE);
SetImage(views::Button::STATE_NORMAL,
- gfx::CreateVectorIcon(icon_id, kButtonSize, normal_color));
+ gfx::CreateVectorIcon(icon_id, normal_color));
SetImage(views::Button::STATE_DISABLED,
- gfx::CreateVectorIcon(icon_id, kButtonSize, disabled_color));
+ gfx::CreateVectorIcon(icon_id, disabled_color));
set_ink_drop_base_color(normal_color);
} else {
SetImage(views::Button::STATE_NORMAL,
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_view.cc ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698