From 345f8e4b5d9e1531e461cce3fd578372779c956a Mon Sep 17 00:00:00 2001 From: "pkasting@chromium.org" Date: Wed, 24 Mar 2010 19:00:55 +0000 Subject: Omnibox M5 work, part 1: Security changes * Remove yellow background * Move lock icon from right side to left side (only on Win) * Change iconography * Change scheme colors * Add label for "Untrusted website" * Remove tooltip on label This also simplifies the LocationBarView code on Windows now that LocationBarImageView is unnecessary, and reorders a few things to try and be in more consistent/physical order. BUG=27570 TEST=Visit various https sites and see that the security icon is on the left, the scheme is colored, and there is no yellow background. Review URL: http://codereview.chromium.org/1056002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42502 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/ssl/ssl_manager.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'chrome/browser/ssl/ssl_manager.h') diff --git a/chrome/browser/ssl/ssl_manager.h b/chrome/browser/ssl/ssl_manager.h index b0f18e1..f9e1685 100644 --- a/chrome/browser/ssl/ssl_manager.h +++ b/chrome/browser/ssl/ssl_manager.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -92,12 +92,8 @@ class SSLManager : public NotificationObserver { int* cert_status, int* security_bits); - // Sets |short_name| to [] and |ca_name| - // to something like: - // "Verified by " - static bool GetEVCertNames(const net::X509Certificate& cert, - std::wstring* short_name, - std::wstring* ca_name); + // Returns " []". + static std::wstring GetEVCertName(const net::X509Certificate& cert); private: // SSLMessageInfo contains the information necessary for displaying a message -- cgit v1.1