Index: Source/testing/runner/WebPermissions.h |
diff --git a/Source/testing/runner/WebPermissions.h b/Source/testing/runner/WebPermissions.h |
index 1bdcc8edb50050f4bd6eb11f7b13ee8e9c973f20..e0eab47a231f70283015ec30e929a420deb09039 100644 |
--- a/Source/testing/runner/WebPermissions.h |
+++ b/Source/testing/runner/WebPermissions.h |
@@ -45,6 +45,7 @@ public: |
// Override WebPermissionClient methods. |
virtual bool allowImage(WebKit::WebFrame*, bool enabledPerSettings, const WebKit::WebURL& imageURL); |
+ virtual bool allowMedia(WebKit::WebFrame*, bool enabledPerSettings, const WebKit::WebURL& mediaURL); |
virtual bool allowScriptFromSource(WebKit::WebFrame*, bool enabledPerSettings, const WebKit::WebURL& scriptURL); |
virtual bool allowStorage(WebKit::WebFrame*, bool local); |
virtual bool allowPlugins(WebKit::WebFrame*, bool enabledPerSettings); |
@@ -53,6 +54,7 @@ public: |
// Hooks to set the different policies. |
void setImagesAllowed(bool); |
+ void setMediaAllowed(bool); |
void setScriptsAllowed(bool); |
void setStorageAllowed(bool); |
void setPluginsAllowed(bool); |
@@ -70,6 +72,7 @@ private: |
bool m_dumpCallbacks; |
bool m_imagesAllowed; |
+ bool m_mediaAllowed; |
bool m_scriptsAllowed; |
bool m_storageAllowed; |
bool m_pluginsAllowed; |