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

Unified Diff: chrome/browser/ui/views/location_bar/location_icon_view.cc

Issue 2217643002: Render extension URLs similar to EV certs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pkasting comments Created 4 years 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_icon_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_icon_view.cc b/chrome/browser/ui/views/location_bar/location_icon_view.cc
index f3dfc1a62e401e29a5462ff329e544b9266138f1..92e6e2d519736d6972b049c208360dd28bb6a195 100644
--- a/chrome/browser/ui/views/location_bar/location_icon_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_icon_view.cc
@@ -136,7 +136,8 @@ gfx::Size LocationIconView::GetMinimumSizeForLabelText(
GetSizeForLabelWidth(label.GetPreferredSize().width()));
}
-void LocationIconView::SetSecurityState(bool should_show, bool should_animate) {
+void LocationIconView::SetTextVisibility(bool should_show,
+ bool should_animate) {
if (!should_animate) {
animation_.Reset(should_show);
} else if (should_show) {

Powered by Google App Engine
This is Rietveld 408576698