Chromium Code Reviews| 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. |
|
Charlie Reis
2012/10/17 06:18:45
nit: Requests media access permission from the emb
lazyboy
2012/10/17 09:09:53
Done.
|
| + void RequestMediaAccess(int request_id); |
| + // Informs the BrowserPlugin that the guest's request to media access has been |
|
Charlie Reis
2012/10/17 06:18:45
Heh, in this case you do want "for" rather than "t
lazyboy
2012/10/17 09:09:53
Done.
|
| + // 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); |