diff options
author | zork@google.com <zork@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-15 23:43:42 +0000 |
---|---|---|
committer | zork@google.com <zork@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-15 23:43:42 +0000 |
commit | a9f4d90f8a1643ccc27aba95cf60c4531b3db7b9 (patch) | |
tree | 0f6069b618b1847b12cdba7d18e2ba8326073eed /chrome/common/render_messages_internal.h | |
parent | b2d85c6d595cd7b0b3807d2bb7849fee343d7394 (diff) | |
download | chromium_src-a9f4d90f8a1643ccc27aba95cf60c4531b3db7b9.zip chromium_src-a9f4d90f8a1643ccc27aba95cf60c4531b3db7b9.tar.gz chromium_src-a9f4d90f8a1643ccc27aba95cf60c4531b3db7b9.tar.bz2 |
Adding sync plugin messages, and plugin broadcasts to the renderer processes
Review URL: http://codereview.chromium.org/2411
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2246 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages_internal.h')
-rw-r--r-- | chrome/common/render_messages_internal.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index 66941ef..faf8beb 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -45,6 +45,12 @@ IPC_BEGIN_MESSAGES(View, 1) size_t /* max_dead_capacity */, size_t /* capacity */) + // Allows a chrome plugin loaded in the browser process to send arbitrary + // data to an instance of the same plugin loaded in a renderer process. + IPC_MESSAGE_CONTROL2(ViewMsg_PluginMessage, + std::wstring /* dll_path of plugin */, + std::vector<uint8> /* opaque data */) + // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. // similar to the new command, but used when the renderer created a view // first, and we need to update it @@ -653,6 +659,13 @@ IPC_BEGIN_MESSAGES(ViewHost, 2) std::wstring /* dll_path of plugin */, std::vector<uint8> /* opaque data */) + // Allows a chrome plugin loaded in a renderer process to send arbitrary + // data to an instance of the same plugin loaded in the browser process. + IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_PluginSyncMessage, + std::wstring /* dll_path of plugin */, + std::vector<uint8> /* opaque data */, + std::vector<uint8> /* opaque data */) + // Requests spellcheck for a word. IPC_SYNC_MESSAGE_ROUTED1_2(ViewHostMsg_SpellCheck, std::wstring /* word to check */, |