diff options
author | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-10 21:42:18 +0000 |
---|---|---|
committer | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-10 21:42:18 +0000 |
commit | 68cafdb44549865b2681320bc1f7d214a4a2ecf1 (patch) | |
tree | 7e605b1a63156a3d158b43606eb7c9bf3a77f132 /chrome/common | |
parent | f5142aafed7190e2b835e703113a6ce0a9e9875b (diff) | |
download | chromium_src-68cafdb44549865b2681320bc1f7d214a4a2ecf1.zip chromium_src-68cafdb44549865b2681320bc1f7d214a4a2ecf1.tar.gz chromium_src-68cafdb44549865b2681320bc1f7d214a4a2ecf1.tar.bz2 |
Present infobar on mixed content denial. We may have caused the page to appear incomplete; let them have a button to continue insecurely.
Review URL: http://codereview.chromium.org/7112001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88734 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/render_messages.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index e3011ee..6b6fe9f 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -261,6 +261,14 @@ IPC_MESSAGE_ROUTED1(ViewMsg_SetIsPrerendering, IPC_MESSAGE_CONTROL1(ViewMsg_SetIsIncognitoProcess, bool /* is_incognito_processs */) +// Sent in response to ViewHostMsg_DidBlockDisplayingInsecureContent. +IPC_MESSAGE_ROUTED1(ViewMsg_SetAllowDisplayingInsecureContent, + bool /* allowed */) + +// Sent in response to ViewHostMsg_DidBlockRunningInsecureContent. +IPC_MESSAGE_ROUTED1(ViewMsg_SetAllowRunningInsecureContent, + bool /* allowed */) + //----------------------------------------------------------------------------- // TabContents messages // These are messages sent from the renderer to the browser process. @@ -481,6 +489,14 @@ IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_CanTriggerClipboardWrite, GURL /* url */, bool /* allowed */) +// Sent when the renderer was prevented from displaying insecure content in +// a secure page by a security policy. The page may appear incomplete. +IPC_MESSAGE_ROUTED0(ViewHostMsg_DidBlockDisplayingInsecureContent) + +// Sent when the renderer was prevented from running insecure content in +// a secure origin by a security policy. The page may appear incomplete. +IPC_MESSAGE_ROUTED0(ViewHostMsg_DidBlockRunningInsecureContent) + // Suggest results ----------------------------------------------------------- IPC_MESSAGE_ROUTED3(ViewHostMsg_SetSuggestions, |