diff options
author | tessamac@chromium.org <tessamac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-20 20:57:12 +0000 |
---|---|---|
committer | tessamac@chromium.org <tessamac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-20 20:57:12 +0000 |
commit | 06024c63d9de26d6fdccd8eab2bc25440dbc6d2f (patch) | |
tree | 45c715a6d0cdde0dc133fdbcf30d0256a3a83235 /chrome/common/extensions/extension_messages.h | |
parent | 390b99620dacb34962eec63e3e93dcdb507b5814 (diff) | |
download | chromium_src-06024c63d9de26d6fdccd8eab2bc25440dbc6d2f.zip chromium_src-06024c63d9de26d6fdccd8eab2bc25440dbc6d2f.tar.gz chromium_src-06024c63d9de26d6fdccd8eab2bc25440dbc6d2f.tar.bz2 |
Close Lazy Background Page after event dispatch
BUG=81752
TEST=
Review URL: http://codereview.chromium.org/8230035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106573 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_messages.h')
-rw-r--r-- | chrome/common/extensions/extension_messages.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h index f11ea16..352b454 100644 --- a/chrome/common/extensions/extension_messages.h +++ b/chrome/common/extensions/extension_messages.h @@ -262,6 +262,11 @@ IPC_MESSAGE_CONTROL2(ExtensionHostMsg_RemoveListener, std::string /* extension_id */, std::string /* name */) +// Notify the browser that the extension is idle so it's lazy background page +// can be closed. +IPC_MESSAGE_CONTROL1(ExtensionHostMsg_ExtensionIdle, + std::string /* extension_id */) + // Open a channel to all listening contexts owned by the extension with // the given ID. This always returns a valid port ID which can be used for // sending messages. If an error occurred, the opener will be notified |