From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebKit2/UIProcess/WebFormClient.h | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'Source/WebKit2/UIProcess/WebFormClient.h') diff --git a/Source/WebKit2/UIProcess/WebFormClient.h b/Source/WebKit2/UIProcess/WebFormClient.h index 38e12ddd3..f2a6d67ea 100644 --- a/Source/WebKit2/UIProcess/WebFormClient.h +++ b/Source/WebKit2/UIProcess/WebFormClient.h @@ -27,14 +27,10 @@ #define WebFormClient_h #include "APIClient.h" -#include "WKPage.h" -#include -#include -#include +#include "APIFormClient.h" +#include "WKPageFormClient.h" namespace API { -class Object; - template<> struct ClientTraits { typedef std::tuple Versions; }; @@ -42,13 +38,11 @@ template<> struct ClientTraits { namespace WebKit { -class WebPageProxy; -class WebFrameProxy; -class WebFormSubmissionListenerProxy; - -class WebFormClient : public API::Client { +class WebFormClient : public API::FormClient, API::Client { public: - bool willSubmitForm(WebPageProxy*, WebFrameProxy*, WebFrameProxy*, const Vector>& textFieldValues, API::Object* userData, WebFormSubmissionListenerProxy*); + explicit WebFormClient(const WKPageFormClientBase*); + + void willSubmitForm(WebPageProxy&, WebFrameProxy&, WebFrameProxy&, const Vector>& textFieldValues, API::Object* userData, Ref&&) override; }; } // namespace WebKit -- cgit v1.2.1