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

Unified Diff: chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm

Issue 2423193002: [Mac] Fix Animation Issue With the Security State Decoration (Closed)
Patch Set: Change default value Created 4 years, 2 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/cocoa/location_bar/security_state_bubble_decoration.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/cocoa/location_bar/security_state_bubble_decoration.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm b/chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm
index 0abd499bd72b97f083f837e5ec9ebd35a7afc4c6..644bb24e3e622d0d4708ff28042914b6d67a3796 100644
--- a/chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm
+++ b/chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm
@@ -131,6 +131,10 @@ bool SecurityStateBubbleDecoration::AnimatingOut() const {
return !animation_.IsShowing() && animation_.GetCurrentValue() != 0.0;
}
+void SecurityStateBubbleDecoration::ResetAnimation() {
+ animation_.Reset();
+}
+
//////////////////////////////////////////////////////////////////
// SecurityStateBubbleDecoration::LocationBarDecoration:
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698