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

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

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
Index: chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.h b/chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.h
index 2d89d046d3e17d7949e193790bed0b13a223e171..7a20c14e450af97cb350cf339f11eccda2b28bfd 100644
--- a/chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.h
+++ b/chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.h
@@ -55,6 +55,9 @@ class SecurityStateBubbleDecoration : public BubbleDecoration,
// Returns true if the chip is in the process of animating out.
bool AnimatingOut() const;
+ // Resets the animation.
+ void ResetAnimation();
+
// LocationBarDecoration:
CGFloat GetWidthForSpace(CGFloat width) override;
void DrawInFrame(NSRect frame, NSView* control_view) override;

Powered by Google App Engine
This is Rietveld 408576698