Skip to content
  • weinig@apple.com's avatar
    Pass values map to willSubmitForm in WebKit2 API · 2ff9d196
    weinig@apple.com authored
    Part of <rdar://problem/8255932>
    https://bugs.webkit.org/show_bug.cgi?id=43995
    
    Reviewed by Brady Eidson.
    
    * Platform/CoreIPC/ArgumentCoders.h:
    (CoreIPC::):
    Add overload for std::pair.
    
    * Shared/ImmutableDictionary.h:
    (WebKit::ImmutableDictionary::adopt):
    Fix function signature by removing size parameter.
    
    * UIProcess/API/C/WKPage.h:
    Add dictionary parameter to callback.
    
    * UIProcess/WebFormClient.cpp:
    (WebKit::WebFormClient::willSubmitForm):
    Create an ImmutableDictionary from the vector of string pairs.
    
    * UIProcess/WebFormClient.h:
    * UIProcess/WebPageProxy.cpp:
    (WebKit::WebPageProxy::didReceiveMessage):
    (WebKit::WebPageProxy::willSubmitForm):
    * UIProcess/WebPageProxy.h:
    * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
    (WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):
    Plumb through the values vector.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65341 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    2ff9d196