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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.h

Issue 2491403002: Add a feature flag for the security verbose (Closed)
Patch Set: Fix compile issues Created 4 years, 1 month 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/views/location_bar/location_bar_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
index 99ea3f71e218ced0a6940d59006d7f4919a4d650..5adfd2da80fde9876a7037fd11b58734723296d2 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -327,6 +327,9 @@ class LocationBarView : public LocationBar,
// In these cases, we should show the state of the security chip.
bool ShouldShowSecurityChip() const;
+ // Returns true if the chip should be animated
+ bool ShouldAnimateSecurityChip() const;
+
// Used to "reverse" the URL showing/hiding animations, since we use separate
// animations whose curves are not true inverses of each other. Based on the
// current position of the omnibox, calculates what value the desired
@@ -480,6 +483,7 @@ class LocationBarView : public LocationBar,
bool should_show_secure_state_;
bool should_show_nonsecure_state_;
bool should_animate_secure_state_;
+ bool should_animate_nonsecure_state_;
DISALLOW_COPY_AND_ASSIGN(LocationBarView);
};
« no previous file with comments | « chrome/browser/ui/location_bar/location_bar.cc ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698