-
jhoneycutt@apple.com authored
information about the form being submitted https://bugs.webkit.org/show_bug.cgi?id=84297 Reviewed by Andy Estes. Source/WebCore: * html/HTMLFormElement.cpp: (WebCore::HTMLFormElement::prepareForSubmission): Get the form field names and values, and use them to create a FormState object. Pass this object when calling dispatchWillSendSubmitEvent(). (WebCore::HTMLFormElement::getTextFieldValues): Loop over the associated elements, looking for <input> elements. Collect their names and values. * html/HTMLFormElement.h: Declare getTextFieldData(). * loader/EmptyClients.h: (WebCore::EmptyFrameLoaderClient::dispatchWillSendSubmitEvent): Updated declaration for new parameter type. * loader/FrameLoaderClient.h: Updated declaration of dispatchWillSendSubmitEvent() for new param type. Source/WebKit/blackberry: * WebCoreSupport/FrameLoaderClientBlackBerry.cpp: (WebCore::FrameLoaderClientBlackBerry::dispatchWillSendSubmitEvent): Updated to use the FormState. * WebCoreSupport/FrameLoaderClientBlackBerry.h: (FrameLoaderClientBlackBerry): Updated method declaration. Source/WebKit/chromium: * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchWillSendSubmitEvent): Updated to use the FormState. * src/FrameLoaderClientImpl.h: (FrameLoaderClientImpl): Updated method declaration. Source/WebKit/efl: * WebCoreSupport/FrameLoaderClientEfl.h: (WebCore::FrameLoaderClientEfl::dispatchWillSendSubmitEvent): Updated method declaration. Source/WebKit/gtk: * WebCoreSupport/FrameLoaderClientGtk.h: (WebKit::FrameLoaderClient::dispatchWillSendSubmitEvent): Updated method declaration. Source/WebKit/mac: * WebCoreSupport/WebFrameLoaderClient.h: Updated method declaration. Source/WebKit/qt: * WebCoreSupport/FrameLoaderClientQt.h: (WebCore::FrameLoaderClientQt::dispatchWillSendSubmitEvent): Updated method declaration. Source/WebKit/win: * WebFrame.h: Fix function stub for new parameter. Source/WebKit/wince: * WebCoreSupport/FrameLoaderClientWinCE.h: (WebKit::FrameLoaderClientWinCE::dispatchWillSendSubmitEvent): Updated method declaration. Source/WebKit/wx: * WebKitSupport/FrameLoaderClientWx.h: (WebCore::FrameLoaderClientWx::dispatchWillSendSubmitEvent): Updated method declaration. Source/WebKit2: * WebProcess/WebCoreSupport/WebFrameLoaderClient.h: (WebFrameLoaderClient): Updated method declaration. * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::willSendSubmitEvent): Stubbed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@115926 268f45cc-cd09-0410-ab3c-d52691b4dbfc
729c05c2