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

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

Issue 2408253002: [Mac] Fix Animation Issue With the Security State Decoration (Closed)
Patch Set: Fixed something with the tab 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 de21a1326e0764199d17b91f4a6bb064e3b8aa0d..2596751860805fb55d359f3b1b34c25672a690e5 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
@@ -133,6 +133,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