diff options
author | John Reck <jreck@google.com> | 2010-11-04 12:00:17 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2010-11-09 11:35:04 -0800 |
commit | e14391e94c850b8bd03680c23b38978db68687a8 (patch) | |
tree | 3fed87e6620fecaf3edc7259ae58a11662bedcb2 /WebCore/loader/PolicyCallback.h | |
parent | 1bd705833a68f07850cf7e204b26f8d328d16951 (diff) | |
download | external_webkit-e14391e94c850b8bd03680c23b38978db68687a8.zip external_webkit-e14391e94c850b8bd03680c23b38978db68687a8.tar.gz external_webkit-e14391e94c850b8bd03680c23b38978db68687a8.tar.bz2 |
Merge Webkit at r70949: Initial merge by git.
Change-Id: I77b8645c083b5d0da8dba73ed01d4014aab9848e
Diffstat (limited to 'WebCore/loader/PolicyCallback.h')
-rw-r--r-- | WebCore/loader/PolicyCallback.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/WebCore/loader/PolicyCallback.h b/WebCore/loader/PolicyCallback.h index 757fff8..415a3e3 100644 --- a/WebCore/loader/PolicyCallback.h +++ b/WebCore/loader/PolicyCallback.h @@ -31,9 +31,10 @@ #define PolicyCallback_h #include "FrameLoaderTypes.h" -#include "PlatformString.h" +#include "NavigationAction.h" #include "ResourceRequest.h" #include <wtf/RefPtr.h> +#include <wtf/text/WTFString.h> namespace WebCore { @@ -42,7 +43,7 @@ class FormState; typedef void (*NavigationPolicyDecisionFunction)(void* argument, const ResourceRequest&, PassRefPtr<FormState>, bool shouldContinue); typedef void (*NewWindowPolicyDecisionFunction)(void* argument, - const ResourceRequest&, PassRefPtr<FormState>, const String& frameName, bool shouldContinue); + const ResourceRequest&, PassRefPtr<FormState>, const String& frameName, const NavigationAction&, bool shouldContinue); typedef void (*ContentPolicyDecisionFunction)(void* argument, PolicyAction); class PolicyCallback { @@ -53,7 +54,7 @@ public: void clear(); void set(const ResourceRequest&, PassRefPtr<FormState>, NavigationPolicyDecisionFunction, void* argument); - void set(const ResourceRequest&, PassRefPtr<FormState>, const String& frameName, + void set(const ResourceRequest&, PassRefPtr<FormState>, const String& frameName, const NavigationAction&, NewWindowPolicyDecisionFunction, void* argument); void set(ContentPolicyDecisionFunction, void* argument); @@ -68,6 +69,7 @@ private: ResourceRequest m_request; RefPtr<FormState> m_formState; String m_frameName; + NavigationAction m_navigationAction; NavigationPolicyDecisionFunction m_navigationFunction; NewWindowPolicyDecisionFunction m_newWindowFunction; |