summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-07 23:57:40 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-07 23:57:40 +0000
commite83f16853d443dd0556b7e8c42f1f6013581715d (patch)
tree58a34a6602aa351ae1d35c2ab5117a0ffd01089a /chrome/common
parentf80ea89e0e951089b9f08ea40c2c2b528f3df66f (diff)
downloadchromium_src-e83f16853d443dd0556b7e8c42f1f6013581715d.zip
chromium_src-e83f16853d443dd0556b7e8c42f1f6013581715d.tar.gz
chromium_src-e83f16853d443dd0556b7e8c42f1f6013581715d.tar.bz2
Fix SSL state in the URL bar being incorrect. Going to an EV site like https://www.verisign.com/ would not should the EV name in the URL bar unless you did something like switch tabs away and back because in my cleanup I removed the notification that this was depending on.
This patch adds a new NOTIFY_SSL_STATE_CHANGED notification which is broadcast by the various SSL components when they update the flags. The browser now listens for this notification and will update the URL bar. BUG=1359547 TEST=see repro steps in bug Review URL: http://codereview.chromium.org/436 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1831 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/notification_types.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/common/notification_types.h b/chrome/common/notification_types.h
index 3983da5..9bf7170 100644
--- a/chrome/common/notification_types.h
+++ b/chrome/common/notification_types.h
@@ -124,6 +124,16 @@ enum NotificationType {
// was issued. Details in the form of a ResourceRedirectDetails are provided.
NOTIFY_RESOURCE_RECEIVED_REDIRECT,
+ // The SSL state of a page has changed somehow. 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 NavigationEntry is new) and this
+ // message won't always be sent in that case.
+ //
+ // The source will be the navigation controller associated with the load.
+ // There are no details. The entry changed will be the active entry of the
+ // controller.
+ NOTIFY_SSL_STATE_CHANGED,
+
// Download start and stop notifications. Stop notifications can occur on both
// normal completion or via a cancel operation.
NOTIFY_DOWNLOAD_START,