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

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

Issue 14245003: Wrench Icon: Only animate low severity status once (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/wrench_toolbar_button.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/wrench_toolbar_button.cc
diff --git a/chrome/browser/ui/views/wrench_toolbar_button.cc b/chrome/browser/ui/views/wrench_toolbar_button.cc
index e6b84cb91650ddf2460c78ebb23152e3ab6bfc27..82aec7e132cb47ab61cd2eb264252da1a92fe1f3 100644
--- a/chrome/browser/ui/views/wrench_toolbar_button.cc
+++ b/chrome/browser/ui/views/wrench_toolbar_button.cc
@@ -20,8 +20,9 @@ WrenchToolbarButton::WrenchToolbarButton(views::MenuButtonListener* listener)
WrenchToolbarButton::~WrenchToolbarButton() {
}
-void WrenchToolbarButton::SetSeverity(WrenchIconPainter::Severity severity) {
- wrench_icon_painter_->SetSeverity(severity);
+void WrenchToolbarButton::SetSeverity(WrenchIconPainter::Severity severity,
+ bool animate) {
+ wrench_icon_painter_->SetSeverity(severity, animate);
}
void WrenchToolbarButton::OnPaint(gfx::Canvas* canvas) {
« no previous file with comments | « chrome/browser/ui/views/wrench_toolbar_button.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698