diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 19:00:55 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 19:00:55 +0000 |
commit | 345f8e4b5d9e1531e461cce3fd578372779c956a (patch) | |
tree | 69c46a93356a4ff180154fda0c050754231eafa1 /chrome/browser/ssl/ssl_manager.h | |
parent | 8a9092a112ccbccd7c20c5c2f40e5e085c59febf (diff) | |
download | chromium_src-345f8e4b5d9e1531e461cce3fd578372779c956a.zip chromium_src-345f8e4b5d9e1531e461cce3fd578372779c956a.tar.gz chromium_src-345f8e4b5d9e1531e461cce3fd578372779c956a.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/ssl/ssl_manager.h')
-rw-r--r-- | chrome/browser/ssl/ssl_manager.h | 10 |
1 files changed, 3 insertions, 7 deletions
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 <organization_name> [<country>] and |ca_name| - // to something like: - // "Verified by <issuer_organization_name>" - static bool GetEVCertNames(const net::X509Certificate& cert, - std::wstring* short_name, - std::wstring* ca_name); + // Returns "<organization_name> [<country>]". + static std::wstring GetEVCertName(const net::X509Certificate& cert); private: // SSLMessageInfo contains the information necessary for displaying a message |