diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/WebPolicyClient.h')
-rw-r--r-- | Source/WebKit2/UIProcess/WebPolicyClient.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/WebKit2/UIProcess/WebPolicyClient.h b/Source/WebKit2/UIProcess/WebPolicyClient.h index c624c58..23e0ffd 100644 --- a/Source/WebKit2/UIProcess/WebPolicyClient.h +++ b/Source/WebKit2/UIProcess/WebPolicyClient.h @@ -27,18 +27,20 @@ #define WebPolicyClient_h #include "APIClient.h" -#include "APIObject.h" #include "WKPage.h" #include "WebEvent.h" #include <WebCore/FrameLoaderTypes.h> #include <wtf/Forward.h> namespace WebCore { + class ResourceError; class ResourceRequest; + class ResourceResponse; } namespace WebKit { +class APIObject; class WebPageProxy; class WebFrameProxy; class WebFramePolicyListenerProxy; @@ -47,7 +49,8 @@ class WebPolicyClient : public APIClient<WKPagePolicyClient> { public: bool decidePolicyForNavigationAction(WebPageProxy*, WebFrameProxy*, WebCore::NavigationType, WebEvent::Modifiers, WebMouseEvent::Button, const WebCore::ResourceRequest&, WebFramePolicyListenerProxy*, APIObject* userData); bool decidePolicyForNewWindowAction(WebPageProxy*, WebFrameProxy*, WebCore::NavigationType, WebEvent::Modifiers, WebMouseEvent::Button, const WebCore::ResourceRequest&, const String& frameName, WebFramePolicyListenerProxy*, APIObject* userData); - bool decidePolicyForMIMEType(WebPageProxy*, WebFrameProxy*, const String& MIMEType, const WebCore::ResourceRequest&, WebFramePolicyListenerProxy*, APIObject* userData); + bool decidePolicyForResponse(WebPageProxy*, WebFrameProxy*, const WebCore::ResourceResponse&, const WebCore::ResourceRequest&, WebFramePolicyListenerProxy*, APIObject* userData); + void unableToImplementPolicy(WebPageProxy*, WebFrameProxy*, const WebCore::ResourceError&, APIObject* userData); }; } // namespace WebKit |