summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-13 23:40:50 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-13 23:40:50 +0000
commit1f3d1a16304b872909f9282e7a1f8b923731d463 (patch)
tree112b5601cf8e7f0fc2f3d01f4ab164a838c1571d /chrome
parentd393a0fdb47c3416153589b5acfc6ccaae280477 (diff)
downloadchromium_src-1f3d1a16304b872909f9282e7a1f8b923731d463.zip
chromium_src-1f3d1a16304b872909f9282e7a1f8b923731d463.tar.gz
chromium_src-1f3d1a16304b872909f9282e7a1f8b923731d463.tar.bz2
Add comment about our SSL UI notifications as requested by wtc.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16016 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/common/notification_type.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/chrome/common/notification_type.h b/chrome/common/notification_type.h
index 3364fc1..98f0259 100644
--- a/chrome/common/notification_type.h
+++ b/chrome/common/notification_type.h
@@ -132,6 +132,22 @@ class NotificationType {
// are provided.
RESOURCE_RECEIVED_REDIRECT,
+ // SSL ---------------------------------------------------------------------
+
+ // Updating the SSL security indicators (the lock icon and such) proceeds
+ // in two phases:
+ //
+ // 1) An SSLManager changes the SSLHostState (which hangs off the profile
+ // object). When this happens, the SSLManager broadcasts an
+ // SSL_INTERNAL_STATE_CHANGED notification.
+ //
+ // 2) The SSLManager for each tab receives this notification and might or
+ // might not update the navigation entry for its tab, depending on
+ // whether the change in SSLHostState affects that tab. If the
+ // SSLManager does change the navigation entry, then the SSLManager
+ // broadcasts an SSL_VISIBLE_STATE_CHANGED notification to the user
+ // interface can redraw properly.
+
// The SSL state of a page has changed in some visible way. For example,
// if an insecure resource is loaded on a secure page. Note that a
// toplevel load commit will also update the SSL state (since the