| Index: content/browser/frame_host/render_frame_host_delegate.h
|
| diff --git a/content/browser/frame_host/render_frame_host_delegate.h b/content/browser/frame_host/render_frame_host_delegate.h
|
| index a49e22cb23a086b44caac5210f73774164f438ab..4d53936c113471097272f1a2bf54cc42ce78bd80 100644
|
| --- a/content/browser/frame_host/render_frame_host_delegate.h
|
| +++ b/content/browser/frame_host/render_frame_host_delegate.h
|
| @@ -9,6 +9,7 @@
|
| #include "base/i18n/rtl.h"
|
| #include "content/common/content_export.h"
|
| #include "content/public/common/javascript_message_type.h"
|
| +#include "content/public/common/media_stream_request.h"
|
|
|
| class GURL;
|
|
|
| @@ -111,6 +112,13 @@ class CONTENT_EXPORT RenderFrameHostDelegate {
|
| // not a WebContents, returns NULL.
|
| virtual WebContents* GetAsWebContents();
|
|
|
| + // The render frame has requested access to media devices listed in
|
| + // |request|, and the client should grant or deny that permission by
|
| + // calling |callback|.
|
| + virtual void RequestMediaAccessPermission(
|
| + const MediaStreamRequest& request,
|
| + const MediaResponseCallback& callback);
|
| +
|
| protected:
|
| virtual ~RenderFrameHostDelegate() {}
|
| };
|
|
|