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

Unified Diff: content/browser/browser_plugin/browser_plugin_embedder.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: Address comments from fsamuel@ Created 8 years, 2 months 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/browser/browser_plugin/browser_plugin_embedder.h
diff --git a/content/browser/browser_plugin/browser_plugin_embedder.h b/content/browser/browser_plugin/browser_plugin_embedder.h
index 72fa56981561fcbe1c7cc76bfd53b1b466db9cbf..220b489273b43c06577d571cee920c79d658d501 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder.h
+++ b/content/browser/browser_plugin/browser_plugin_embedder.h
@@ -107,6 +107,8 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver,
void PluginDestroyed(int instance_id);
void SetGuestVisibility(int instance_id,
bool guest_visible);
+ // Allows or denies browser plugin's media access request.
Charlie Reis 2012/10/17 06:18:45 nit: s/browser plugin's/a guest's/ Also add "afte
lazyboy 2012/10/17 09:09:53 Done.
+ void AllowMediaAccess(int instance_id, int request_id, bool allow);
Charlie Reis 2012/10/17 06:18:45 nit: should_allow
lazyboy 2012/10/17 09:09:53 Done.
// Overrides factory for testing. Default (NULL) value indicates regular
// (non-test) environment.

Powered by Google App Engine
This is Rietveld 408576698