| Index: content/common/browser_plugin_messages.h
|
| diff --git a/content/common/browser_plugin_messages.h b/content/common/browser_plugin_messages.h
|
| index 6bc5154b13372c0566e61d2e4b36ac9d39d54971..c7ba0af21641366e10a6d3bdc757dd13c0e08c84 100644
|
| --- a/content/common/browser_plugin_messages.h
|
| +++ b/content/common/browser_plugin_messages.h
|
| @@ -122,6 +122,13 @@ IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetVisibility,
|
| int /* instance_id */,
|
| bool /* visible */)
|
|
|
| +// Tells the guest that its request for media permission has been allowed or
|
| +// denied.
|
| +IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_AllowMediaAccess,
|
| + int /* instance_id */,
|
| + int /* request_id */,
|
| + bool /* allow */)
|
| +
|
| // -----------------------------------------------------------------------------
|
| // These messages are from the guest renderer to the browser process
|
|
|
| @@ -172,6 +179,12 @@ IPC_MESSAGE_CONTROL3(BrowserPluginMsg_DidNavigate,
|
| IPC_MESSAGE_CONTROL1(BrowserPluginMsg_GuestCrashed,
|
| int /* instance_id */)
|
|
|
| +// When the guest requests for media access, the browser process forwards this
|
| +// request to the embeddder through this message.
|
| +IPC_MESSAGE_CONTROL2(BrowserPluginMsg_RequestMediaAccess,
|
| + int /* instance_id */,
|
| + int /* request_id */)
|
| +
|
| IPC_STRUCT_BEGIN(BrowserPluginMsg_UpdateRect_Params)
|
| // The position and size of the bitmap.
|
| IPC_STRUCT_MEMBER(gfx::Rect, bitmap_rect)
|
|
|