From ad02e2f8c32af11fced8b53c60428f4d5e19bb70 Mon Sep 17 00:00:00 2001 From: "wtc@chromium.org" Date: Tue, 15 Feb 2011 19:52:24 +0000 Subject: SSLv3 fallback should trigger a minor warning icon instead of an error icon. The middle section (connection status) of the Page Info bubble should have the minor warning icon instead of the error icon. R=agl BUG=72716 TEST=Visit https://web3.uottawa.ca/infoweb/logon/en.html and click the lock icon in the location bar. The middle section should show a minor warning icon (a small yellow triangle on a gray padlock) instead of an error icon (a small white X on a red padlock). Review URL: http://codereview.chromium.org/6480061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74996 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/page_info_model.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome/browser/page_info_model.cc') diff --git a/chrome/browser/page_info_model.cc b/chrome/browser/page_info_model.cc index 365852f..c8d327d 100644 --- a/chrome/browser/page_info_model.cc +++ b/chrome/browser/page_info_model.cc @@ -248,7 +248,8 @@ PageInfoModel::PageInfoModel(Profile* profile, if (did_fallback) { // For now, only SSLv3 fallback will trigger a warning icon. - icon_id = ICON_STATE_ERROR; + if (icon_id < ICON_STATE_WARNING_MINOR) + icon_id = ICON_STATE_WARNING_MINOR; description += ASCIIToUTF16("\n\n"); description += l10n_util::GetStringUTF16( IDS_PAGE_INFO_SECURITY_TAB_FALLBACK_MESSAGE); -- cgit v1.1