From 6882a04fb36642862b11efe514251d32070c3d65 Mon Sep 17 00:00:00 2001 From: Konstantin Tokarev Date: Thu, 25 Aug 2016 19:20:41 +0300 Subject: Imported QtWebKit TP3 (git b57bc6801f1876c3220d5a4bfea33d620d477443) Change-Id: I3b1d8a2808782c9f34d50240000e20cb38d3680f Reviewed-by: Konstantin Tokarev --- Source/WebKit2/UIProcess/WebFormClient.h | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'Source/WebKit2/UIProcess/WebFormClient.h') diff --git a/Source/WebKit2/UIProcess/WebFormClient.h b/Source/WebKit2/UIProcess/WebFormClient.h index 05925239f..66fefed9d 100644 --- a/Source/WebKit2/UIProcess/WebFormClient.h +++ b/Source/WebKit2/UIProcess/WebFormClient.h @@ -27,21 +27,22 @@ #define WebFormClient_h #include "APIClient.h" -#include "WKPage.h" -#include -#include -#include +#include "APIFormClient.h" +#include "WKPageFormClient.h" -namespace WebKit { +namespace API { +template<> struct ClientTraits { + typedef std::tuple Versions; +}; +} -class APIObject; -class WebPageProxy; -class WebFrameProxy; -class WebFormSubmissionListenerProxy; +namespace WebKit { -class WebFormClient : public APIClient { +class WebFormClient : public API::FormClient, API::Client { public: - bool willSubmitForm(WebPageProxy*, WebFrameProxy*, WebFrameProxy*, const Vector >& textFieldValues, APIObject* userData, WebFormSubmissionListenerProxy*); + explicit WebFormClient(const WKPageFormClientBase*); + + virtual void willSubmitForm(WebPageProxy&, WebFrameProxy&, WebFrameProxy&, const Vector>& textFieldValues, API::Object* userData, Ref&&) override; }; } // namespace WebKit -- cgit v1.2.1