| 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 40af1dba20c272427e2dc4af89622628cd87094e..7fed3f02268672a42268e8cd81cecbcc0cd8efe4 100644
|
| --- a/content/browser/frame_host/render_frame_host_delegate.h
|
| +++ b/content/browser/frame_host/render_frame_host_delegate.h
|
| @@ -130,6 +130,12 @@ class CONTENT_EXPORT RenderFrameHostDelegate {
|
| const MediaStreamRequest& request,
|
| const MediaResponseCallback& callback);
|
|
|
| + // Checks if we have permission to access the microphone or camera. Note that
|
| + // this does not query the user. |type| must be MEDIA_DEVICE_AUDIO_CAPTURE
|
| + // or MEDIA_DEVICE_VIDEO_CAPTURE.
|
| + virtual bool CheckMediaAccessPermission(const GURL& security_origin,
|
| + MediaStreamType type);
|
| +
|
| // Get the accessibility mode for the WebContents that owns this frame.
|
| virtual AccessibilityMode GetAccessibilityMode() const;
|
|
|
|
|