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 da612fa2b5e589633c56c00135ea5b13ba7f1c52..7317407d5ace553594cffe4b2b0abb880531842b 100644 |
| --- a/content/renderer/browser_plugin/browser_plugin.h |
| +++ b/content/renderer/browser_plugin/browser_plugin.h |
| @@ -115,6 +115,12 @@ class CONTENT_EXPORT BrowserPlugin : |
| // touch events. |
| void SetAcceptTouchEvents(bool accept); |
| + // Requests media access permission from the embedder. |
| + void RequestMediaAccess(int request_id); |
| + // Informs the BrowserPlugin that the guest's request for media access has |
| + // been allowed or denied. |
| + void AllowMediaAccess(int request_id, bool allow); |
|
sadrul
2012/11/16 03:59:53
Perhaps call this RespondMediaAccess or something
lazyboy
2012/11/16 06:27:09
Done.
(the msg is named AllowFoo still, we shd pro
|
| + |
| // Tells the BrowserPlugin to tell the guest to navigate to the previous |
| // navigation entry in the navigation history. |
| void Back(); |