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

Unified Diff: chrome/browser/gtk/page_info_bubble_gtk.cc

Issue 3367007: Page info model now shows red skull and crossbones on SECURITY_STYLE_AUTHENTI... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/page_info_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/page_info_bubble_gtk.cc
===================================================================
--- chrome/browser/gtk/page_info_bubble_gtk.cc (revision 58939)
+++ chrome/browser/gtk/page_info_bubble_gtk.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 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.
@@ -223,10 +223,13 @@
case PageInfoModel::SECTION_STATE_OK:
pixbuf = rb.GetPixbufNamed(IDR_PAGEINFO_GOOD);
break;
- case PageInfoModel::SECTION_STATE_WARNING:
+ case PageInfoModel::SECTION_STATE_WARNING_MINOR:
DCHECK(section.type == PageInfoModel::SECTION_INFO_CONNECTION);
- pixbuf = rb.GetPixbufNamed(IDR_PAGEINFO_MIXED);
+ pixbuf = rb.GetPixbufNamed(IDR_PAGEINFO_WARNING_MINOR);
break;
+ case PageInfoModel::SECTION_STATE_WARNING_MAJOR:
+ pixbuf = rb.GetPixbufNamed(IDR_PAGEINFO_WARNING_MAJOR);
+ break;
case PageInfoModel::SECTION_STATE_ERROR:
pixbuf = rb.GetPixbufNamed(IDR_PAGEINFO_BAD);
break;
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/page_info_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698