Bug 43947

Summary: Add form submission listener to WebKit2
Product: WebKit Reporter: Sam Weinig <sam>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch jhoneycutt: review+

Description Sam Weinig 2010-08-12 21:20:53 PDT
Add form submission listener to WebKit2.

Part of <rdar://problem/8255932> (autofill support).
Comment 1 Sam Weinig 2010-08-12 21:28:51 PDT
Created attachment 64296 [details]
Patch
Comment 2 Jon Honeycutt 2010-08-13 01:26:56 PDT
Comment on attachment 64296 [details]
Patch

> Index: WebKit2/UIProcess/WebPageProxy.h
> ===================================================================
> --- WebKit2/UIProcess/WebPageProxy.h	(revision 65292)
> +++ WebKit2/UIProcess/WebPageProxy.h	(working copy)
> @@ -190,6 +192,8 @@ private:
>      void decidePolicyForNewWindowAction(WebFrameProxy*, WebCore::NavigationType navigationType, const WTF::String& url, uint64_t listenerID);
>      void decidePolicyForMIMEType(WebFrameProxy*, const WTF::String& MIMEType, const WTF::String& url, uint64_t listenerID);
>  
> +    void willSubmitForm(WebFrameProxy*, WebFrameProxy*, uint64_t listenerID);

Would be good to name the first two parameters.

r=me
Comment 3 Sam Weinig 2010-08-13 13:11:49 PDT
Landed in r65337.