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/cert_store.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/cert_store.h')
-rw-r--r-- | chrome/browser/cert_store.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/cert_store.h b/chrome/browser/cert_store.h index 995a3db..0b19540 100644 --- a/chrome/browser/cert_store.h +++ b/chrome/browser/cert_store.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. @@ -34,9 +34,9 @@ class CertStore : public NotificationObserver { // Note: ids starts at 1. int StoreCert(net::X509Certificate* cert, int render_process_host_id); - // Retrieves the previously stored cert associated with the specified - // |cert_id| and set it in |cert|. Returns false if no cert was found for - // that id. + // Tries to retrieve the previously stored cert associated with the specified + // |cert_id|. Returns whether the cert could be found, and, if |cert| is + // non-NULL, copies it in. bool RetrieveCert(int cert_id, scoped_refptr<net::X509Certificate>* cert); // NotificationObserver implementation. |