summaryrefslogtreecommitdiffstats
path: root/chrome/browser/page_info_model.h
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-10 13:22:05 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-10 13:22:05 +0000
commitc45ea217857a088a1f0acd2892bfea82319bd388 (patch)
treea6cce9d19f77c9add64f2b17243b35e7556aba2f /chrome/browser/page_info_model.h
parent43c77d0bdba60745ef3dc01fd4fa6744642491b8 (diff)
downloadchromium_src-c45ea217857a088a1f0acd2892bfea82319bd388.zip
chromium_src-c45ea217857a088a1f0acd2892bfea82319bd388.tar.gz
chromium_src-c45ea217857a088a1f0acd2892bfea82319bd388.tar.bz2
Page info model now shows red skull and crossbones on SECURITY_STYLE_AUTHENTICATION_BROKEN, like the Omnibox does.
Started using... a) the Info icon (blue i) for the first visit section and b) the yellow exclamation point for http connections (instead of the skull and crossbones). BUG=http://crbug.com/52916 TEST=None Review URL: http://codereview.chromium.org/3367007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59088 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/page_info_model.h')
-rw-r--r--chrome/browser/page_info_model.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/page_info_model.h b/chrome/browser/page_info_model.h
index e46ab8d..1f9942f 100644
--- a/chrome/browser/page_info_model.h
+++ b/chrome/browser/page_info_model.h
@@ -37,8 +37,10 @@ class PageInfoModel {
enum SectionInfoState {
SECTION_STATE_OK = 0,
- // If state is OK but contains mixed content.
- SECTION_STATE_WARNING,
+ // For example, if state is OK but contains mixed content.
+ SECTION_STATE_WARNING_MINOR,
+ // For example, if content was served over HTTP.
+ SECTION_STATE_WARNING_MAJOR,
// For example, unverified identity over HTTPS.
SECTION_STATE_ERROR,
};