diff options
Diffstat (limited to 'webkit/api/public/WebKit.h')
-rw-r--r-- | webkit/api/public/WebKit.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/api/public/WebKit.h b/webkit/api/public/WebKit.h index 4b5c1a6..e0fc2b7 100644 --- a/webkit/api/public/WebKit.h +++ b/webkit/api/public/WebKit.h @@ -32,6 +32,7 @@ #define WebKit_h #include "WebCommon.h" +#include "WebURL.h" namespace v8 { class Extension; @@ -100,6 +101,13 @@ namespace WebKit { // Enables HTML5 database support. WEBKIT_API void enableDatabases(); WEBKIT_API bool databasesEnabled(); + + // Support for whitelisting access to origins beyond the same-origin policy. + WEBKIT_API void whiteListAccessFromOrigin( + const WebURL& sourceOrigin, const WebString& destinationProtocol, + const WebString& destinationHost, bool allowDestinationSubdomains); + WEBKIT_API void resetOriginAccessWhiteLists(); + } // namespace WebKit #endif |