| Index: content/common/browser_plugin_messages.h
|
| diff --git a/content/common/browser_plugin_messages.h b/content/common/browser_plugin_messages.h
|
| index 7267b13c7f9bf8700629ba04be0d3cbcad4aa9c8..6adf331cc4d9b4224a573d6764b70ff994c762e4 100644
|
| --- a/content/common/browser_plugin_messages.h
|
| +++ b/content/common/browser_plugin_messages.h
|
| @@ -14,8 +14,8 @@
|
| #include "ipc/ipc_channel_handle.h"
|
| #include "ipc/ipc_message_macros.h"
|
| #include "ipc/ipc_message_utils.h"
|
| -#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragStatus.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
|
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragStatus.h"
|
| #include "ui/gfx/point.h"
|
| #include "ui/gfx/rect.h"
|
| #include "ui/gfx/size.h"
|
| @@ -212,6 +212,13 @@ IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_PluginAtPositionResponse,
|
| int /* request_id */,
|
| gfx::Point /* position */)
|
|
|
| +// 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
|
|
|
| @@ -274,6 +281,12 @@ IPC_MESSAGE_CONTROL3(BrowserPluginMsg_GuestGone,
|
| int /* process_id */,
|
| int /* This is really base::TerminationStatus */)
|
|
|
| +// When the guest requests 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 */)
|
| +
|
| // When the user tabs to the end of the tab stops of a guest, the browser
|
| // process informs the embedder to tab out of the browser plugin.
|
| IPC_MESSAGE_CONTROL2(BrowserPluginMsg_AdvanceFocus,
|
|
|