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

Unified Diff: chrome/browser/ui/toolbar/test_toolbar_model.cc

Issue 302453002: New animation for the origin chip URL showing/hiding. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bugfixes and more animations Created 6 years, 7 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/toolbar/test_toolbar_model.cc
diff --git a/chrome/browser/ui/toolbar/test_toolbar_model.cc b/chrome/browser/ui/toolbar/test_toolbar_model.cc
index f086bcb70c715698c806c0f566f58c0f738c86b7..666a45439513b89f7085a528151dcd6528c0b402 100644
--- a/chrome/browser/ui/toolbar/test_toolbar_model.cc
+++ b/chrome/browser/ui/toolbar/test_toolbar_model.cc
@@ -55,7 +55,7 @@ int TestToolbarModel::GetIconForSecurityLevel(SecurityLevel level) const {
}
base::string16 TestToolbarModel::GetEVCertName() const {
- return ev_cert_name_;
+ return (security_level_ == EV_SECURE) ? ev_cert_name_ : base::string16();
}
bool TestToolbarModel::ShouldDisplayURL() const {

Powered by Google App Engine
This is Rietveld 408576698