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