Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1167)

Unified Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 11093080: <webview>: First stab at implementing media permission request for guests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit fix Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 78005c7c63f6ba45c5b2c34e80f496f70ba5ad5c..db99c411d869686396372f844dc7513e0fd96557 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.
Fady Samuel 2012/12/05 22:14:32 ...allowed or denied by the embedder.
lazyboy 2012/12/06 00:05:52 Done.
+ void RespondMediaAccess(int request_id, bool allow);
+
// Tells the BrowserPlugin to tell the guest to navigate to the previous
// navigation entry in the navigation history.
void Back();

Powered by Google App Engine
This is Rietveld 408576698