| 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 3101824fb2572090891cc700082c7564875f4a19..26b3ae5d7ba0f86031f1886d0d3fe15045f6e977 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_embedder.h
|
| +++ b/content/browser/browser_plugin/browser_plugin_embedder.h
|
| @@ -27,8 +27,8 @@
|
| #include "content/public/browser/notification_registrar.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
| -#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragStatus.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
|
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragStatus.h"
|
| #include "ui/surface/transport_dib.h"
|
| #include "webkit/glue/webdropdata.h"
|
|
|
| @@ -125,6 +125,10 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver,
|
|
|
| bool visible() const { return visible_; }
|
|
|
| + // Allows or denies a guest's media access request after the embedder has
|
| + // decided.
|
| + void AllowMediaAccess(int instance_id, int request_id, bool should_allow);
|
| +
|
| // Overrides factory for testing. Default (NULL) value indicates regular
|
| // (non-test) environment.
|
| static void set_factory_for_testing(BrowserPluginHostFactory* factory) {
|
|
|