diff options
author | mpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-18 22:56:58 +0000 |
---|---|---|
committer | mpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-18 22:56:58 +0000 |
commit | 1f70f0ca51d1c61d3a775507b2b69dcdf60e77df (patch) | |
tree | 41659daa24b3e9af8996b2782dffead89fdcc63c /chrome/common | |
parent | 11de3e98153ad8dcb9e6628e527f7bfb2ca0a8ed (diff) | |
download | chromium_src-1f70f0ca51d1c61d3a775507b2b69dcdf60e77df.zip chromium_src-1f70f0ca51d1c61d3a775507b2b69dcdf60e77df.tar.gz chromium_src-1f70f0ca51d1c61d3a775507b2b69dcdf60e77df.tar.bz2 |
Send port-closed notification when a frame with ports unloads.
Also add onLoad and onUnload chrome Event to our bindings, so we can add
listeners to these events without needing a DOM. These don't hook into the
window "unload" event, so we no longer prevent Chrome's sudden termination of
tabs on shutdown.
BUG=12686
TEST=no
Review URL: http://codereview.chromium.org/125280
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18765 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/render_messages_internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index bd3c059..e0ba76e 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -1401,6 +1401,11 @@ IPC_BEGIN_MESSAGES(ViewHost) int /* port_id */, std::string /* message */) + // Send a message to an extension process. The handle is the value returned + // by ViewHostMsg_OpenChannelToExtension. + IPC_MESSAGE_CONTROL1(ViewHostMsg_ExtensionCloseChannel, + int /* port_id */) + // Message to show a popup menu using native cocoa controls (Mac only). IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup, ViewHostMsg_ShowPopup_Params) |