diff options
author | acolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-27 17:23:24 +0000 |
---|---|---|
committer | acolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-27 17:23:24 +0000 |
commit | 16544bdf5b6500a7390d738a46f3cff017590582 (patch) | |
tree | a497bac31ca891c82fb2f656bd969feac8650d41 /chrome/common/extensions/extension_messages.h | |
parent | 5ce7a3eebe8ccb16f1cd1e04fbcfa1c7c2d9fdf2 (diff) | |
download | chromium_src-16544bdf5b6500a7390d738a46f3cff017590582.zip chromium_src-16544bdf5b6500a7390d738a46f3cff017590582.tar.gz chromium_src-16544bdf5b6500a7390d738a46f3cff017590582.tar.bz2 |
Revert 83168 - Revert "Revert 83100 - Remove weird dependency on extensions from webui.Re-plumb extension request messages in a more sane way.Before, each RVH had ProcessWebUIMessage(), which wasserving as a manual way of plumbing both WebUI andextension messages to the right place, even though onlya few RVHD responded to either message.Instead of this, we now just teach more of the stack howto handle IPC messages in general, and delegate them upthrough the stack, giving each layer a chance to handlethem if it knows how.The result is simpler and smaller:179 insertions(+), 252 deletions(-)BUG=80311Review URL: http://codereview.chromium.org/6901021"This reverts commit 643b280cedd9f0b76948686f39f50f295aba362f.TBR=mpcomplete@chromium.org
TBR=aa@chromium.org
This is still causing check_deps failures.
Review URL: http://codereview.chromium.org/6902074
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83172 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_messages.h')
-rw-r--r-- | chrome/common/extensions/extension_messages.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h index 74378dd..f2f5c34 100644 --- a/chrome/common/extensions/extension_messages.h +++ b/chrome/common/extensions/extension_messages.h @@ -16,7 +16,7 @@ #define IPC_MESSAGE_START ExtensionMsgStart // Parameters structure for ExtensionHostMsg_Request. -IPC_STRUCT_BEGIN(ExtensionHostMsg_Request_Params) +IPC_STRUCT_BEGIN(ExtensionHostMsg_DomMessage_Params) // Message name. IPC_STRUCT_MEMBER(std::string, name) @@ -214,7 +214,7 @@ IPC_MESSAGE_ROUTED1(ExtensionMsg_GetApplicationInfo, // A renderer sends this message when an extension process starts an API // request. The browser will always respond with a ExtensionMsg_Response. IPC_MESSAGE_ROUTED1(ExtensionHostMsg_Request, - ExtensionHostMsg_Request_Params) + ExtensionHostMsg_DomMessage_Params) // Notify the browser that the given extension added a listener to an event. IPC_MESSAGE_CONTROL2(ExtensionHostMsg_AddListener, |