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

Unified Diff: content/browser/browser_plugin/browser_plugin_embedder.cc

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 7 years, 10 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.cc
diff --git a/content/browser/browser_plugin/browser_plugin_embedder.cc b/content/browser/browser_plugin/browser_plugin_embedder.cc
index 7031f47beaed312f6ae39f04d1dae5fa38fe0a52..0264439ed455ca4e6793d9271662ed553ec072b7 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder.cc
+++ b/content/browser/browser_plugin/browser_plugin_embedder.cc
@@ -305,6 +305,7 @@ void BrowserPluginEmbedder::WebContentsVisibilityChanged(bool visible) {
bool BrowserPluginEmbedder::ShouldForwardToBrowserPluginGuest(
const IPC::Message& message) {
switch (message.type()) {
+ case BrowserPluginHostMsg_AllowPermission::ID:
case BrowserPluginHostMsg_BuffersSwappedACK::ID:
case BrowserPluginHostMsg_DragStatusUpdate::ID:
case BrowserPluginHostMsg_Go::ID:

Powered by Google App Engine
This is Rietveld 408576698