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

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

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
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 c6831f442bd66a4513c5c811ab49ebdc1be3ec27..e817b90f987bf0817910bd41b083fe81c4504ba8 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