Index: content/browser/renderer_host/render_view_host_delegate.h |
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h |
index a8d7e6b64641f6e95fa6d6bedb9c396c1593d920..e26363e37b8b68d44aa6bd5dbb2e11688c4323e1 100644 |
--- a/content/browser/renderer_host/render_view_host_delegate.h |
+++ b/content/browser/renderer_host/render_view_host_delegate.h |
@@ -14,6 +14,7 @@ |
#include "base/string16.h" |
#include "content/common/content_export.h" |
#include "content/public/common/javascript_message_type.h" |
+#include "content/public/common/media_stream_request.h" |
#include "ipc/ipc_channel.h" |
#include "net/base/load_states.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
@@ -390,6 +391,13 @@ class CONTENT_EXPORT RenderViewHostDelegate : public IPC::Channel::Listener { |
// provided in the supplied params. |
virtual void ShowContextMenu(const content::ContextMenuParams& params) {} |
+ // The render view host has requested access to media devices listed in |
Evan Stade
2012/06/09 05:47:38
s/render view host/render view/
|
+ // |request|, and the client should grant or deny that permission by |
+ // calling |callback|. |
+ virtual void RequestMediaAccessPermission( |
+ const content::MediaStreamRequest* request, |
jam
2012/06/11 05:31:57
nit: here and below, no "content::" since this is
Evan Stade
2012/06/12 00:00:46
Done.
|
+ const content::MediaResponseCallback& callback) {} |
+ |
protected: |
virtual ~RenderViewHostDelegate() {} |
}; |