| Index: content/renderer/browser_plugin/browser_plugin.h
|
| diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
|
| index 45ae96d09a691c0183cc628fcfa455306bd19031..e2da4398d3a65b0e6b14db6ca2d38f613caffa14 100644
|
| --- a/content/renderer/browser_plugin/browser_plugin.h
|
| +++ b/content/renderer/browser_plugin/browser_plugin.h
|
| @@ -70,6 +70,12 @@ class CONTENT_EXPORT BrowserPlugin :
|
| // touch events.
|
| void SetAcceptTouchEvents(bool accept);
|
|
|
| + // Requests the embedder (browser process) for media access permission.
|
| + void RequestMediaAccess(int request_id);
|
| + // Informs the BrowserPlugin that the guest's request to media access has been
|
| + // allowed or denied.
|
| + void AllowMediaAccess(int request_id, bool allow);
|
| +
|
| // Indicates whether there are any Javascript listeners attached to a
|
| // provided event_name.
|
| bool HasListeners(const std::string& event_name);
|
|
|