Chromium Code Reviews| Index: content/common/view_messages.h |
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
| index 741a3f78c193c20e657579892f693a2da7d7ab5a..e4cb4a1c7219d56facc488663283bb7c0808512e 100644 |
| --- a/content/common/view_messages.h |
| +++ b/content/common/view_messages.h |
| @@ -1291,6 +1291,13 @@ IPC_MESSAGE_ROUTED2(ViewMsg_PpapiBrokerChannelCreated, |
| int /* request_id */, |
| IPC::ChannelHandle /* handle */) |
| +// Reply to ViewHostMsg_RequestPpapiBrokerPermission. |
| +// Tells the renderer whether permission to access to PPAPI broker was granted |
| +// or not. |
| +IPC_MESSAGE_ROUTED2(ViewMsg_PpapiBrokerPermissionResult, |
| + int /* request_id */, |
| + bool /* result */) |
| + |
| // Tells the renderer to empty its plugin list cache, optional reloading |
| // pages containing plugins. |
| IPC_MESSAGE_CONTROL1(ViewMsg_PurgePluginListCache, |
| @@ -1824,6 +1831,15 @@ IPC_MESSAGE_CONTROL3(ViewHostMsg_OpenChannelToPpapiBroker, |
| int /* request_id */, |
| FilePath /* path */) |
| +// A renderer sends this to the browser process when it wants to access a PPAPI |
| +// broker. In contrast to ViewHostMsg_OpenChannelToPpapiBroker, this is called |
| +// for every connection. |
| +//The browser will respond with ViewMsg_PpapiBrokerPermissionResult. |
|
ddorwin
2012/08/12 22:51:16
missing space after //
Bernhard Bauer
2012/08/13 09:02:12
Done.
|
| +IPC_MESSAGE_ROUTED3(ViewHostMsg_RequestPpapiBrokerPermission, |
| + int /* request_id */, |
| + GURL /* document_url */, |
| + FilePath /* plugin_path */) |
| + |
| #if defined(USE_X11) |
| // A renderer sends this when it needs a browser-side widget for |
| // hosting a windowed plugin. id is the XID of the plugin window, for which |