| Index: public/web/WebPermissionClient.h
|
| diff --git a/public/web/WebPermissionClient.h b/public/web/WebPermissionClient.h
|
| index 2b7d5727faf9b6952fcd79939b9471b12eefc11f..cfaed248d334d8e4676aa5574c651460d9ced48b 100644
|
| --- a/public/web/WebPermissionClient.h
|
| +++ b/public/web/WebPermissionClient.h
|
| @@ -53,6 +53,9 @@ public:
|
| // Controls whether access to Indexed DB are allowed for this frame.
|
| virtual bool allowIndexedDB(WebFrame*, const WebString& name, const WebSecurityOrigin&) { return true; }
|
|
|
| + // Controls whether HTML5 media elements (<audio>, <video>) are allowed for this frame.
|
| + virtual bool allowMedia(WebFrame* frame, bool enabledPerSettings, const WebURL& videoURL) { return enabledPerSettings; }
|
| +
|
| // Controls whether plugins are allowed for this frame.
|
| virtual bool allowPlugins(WebFrame*, bool enabledPerSettings) { return enabledPerSettings; }
|
|
|
|
|