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

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

Issue 2336423002: [Material][Mac] Flag and clean for the Security State Decoration (Closed)
Patch Set: Fix for rsesek, hide EV cert along with secure Created 4 years, 3 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.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 22c07a7b8f9bc805f7f842a81b3a082724321721..5cf77aae6fe8e4a9f30dc5a23bd3dde8cebd55a0 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
@@ -123,6 +123,10 @@ void SecurityStateBubbleDecoration::AnimateOut() {
animation_.Hide();
}
+void SecurityStateBubbleDecoration::ShowWithoutAnimation() {
+ animation_.Reset(1.0);
+}
+
bool SecurityStateBubbleDecoration::HasAnimatedIn() const {
return animation_.IsShowing() && animation_.GetCurrentValue() == 1.0;
}
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.h ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698