Changeset 142839 in webkit
- Timestamp:
- Feb 13, 2013 6:11:39 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r142836 r142839 1 2013-02-13 Anders Carlsson <andersca@apple.com> 2 3 Remove StringPairVector 4 https://bugs.webkit.org/show_bug.cgi?id=109778 5 6 Reviewed by Ryosuke Niwa. 7 8 Our message generation scripts can handle nested template parameter types now, 9 so we no longer need to use StringPairVector. 10 11 * Shared/StringPairVector.h: Removed. 12 * UIProcess/WebPageProxy.cpp: 13 (WebKit::WebPageProxy::willSubmitForm): 14 * UIProcess/WebPageProxy.h: 15 (WebPageProxy): 16 * UIProcess/WebPageProxy.messages.in: 17 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: 18 (WebKit::WebFrameLoaderClient::dispatchWillSubmitForm): 19 1 20 2013-02-13 Dean Jackson <dino@apple.com> 2 21 -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r142704 r142839 46 46 #include "PrintInfo.h" 47 47 #include "SessionState.h" 48 #include "StringPairVector.h"49 48 #include "TextChecker.h" 50 49 #include "TextCheckerState.h" … … 2412 2411 // FormClient 2413 2412 2414 void WebPageProxy::willSubmitForm(uint64_t frameID, uint64_t sourceFrameID, const StringPairVector& textFieldValues, uint64_t listenerID, CoreIPC::MessageDecoder& decoder)2413 void WebPageProxy::willSubmitForm(uint64_t frameID, uint64_t sourceFrameID, const Vector<std::pair<String, String> >& textFieldValues, uint64_t listenerID, CoreIPC::MessageDecoder& decoder) 2415 2414 { 2416 2415 RefPtr<APIObject> userData; … … 2426 2425 2427 2426 RefPtr<WebFormSubmissionListenerProxy> listener = frame->setUpFormSubmissionListenerProxy(listenerID); 2428 if (!m_formClient.willSubmitForm(this, frame, sourceFrame, textFieldValues .stringPairVector(), userData.get(), listener.get()))2427 if (!m_formClient.willSubmitForm(this, frame, sourceFrame, textFieldValues, userData.get(), listener.get())) 2429 2428 listener->continueSubmission(); 2430 2429 } -
trunk/Source/WebKit2/UIProcess/WebPageProxy.h
r142160 r142839 799 799 void unableToImplementPolicy(uint64_t frameID, const WebCore::ResourceError&, CoreIPC::MessageDecoder&); 800 800 801 void willSubmitForm(uint64_t frameID, uint64_t sourceFrameID, const StringPairVector& textFieldValues, uint64_t listenerID, CoreIPC::MessageDecoder&);801 void willSubmitForm(uint64_t frameID, uint64_t sourceFrameID, const Vector<std::pair<String, String> >& textFieldValues, uint64_t listenerID, CoreIPC::MessageDecoder&); 802 802 803 803 // UI client -
trunk/Source/WebKit2/UIProcess/WebPageProxy.messages.in
r142160 r142839 143 143 144 144 # Forms messages 145 WillSubmitForm(uint64_t frameID, uint64_t sourceFrameID, W ebKit::StringPairVectortextFieldValues, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData) Variadic145 WillSubmitForm(uint64_t frameID, uint64_t sourceFrameID, WTF::Vector<std::pair<WTF::String, WTF::String> > textFieldValues, uint64_t listenerID, WebKit::InjectedBundleUserMessageEncoder userData) Variadic 146 146 147 147 # Callback messages -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
r141708 r142839 36 36 #include "PlatformCertificateInfo.h" 37 37 #include "PluginView.h" 38 #include "StringPairVector.h"39 38 #include "WebBackForwardListProxy.h" 40 39 #include "WebContextMessages.h" … … 760 759 761 760 uint64_t listenerID = m_frame->setUpPolicyListener(function); 762 StringPairVector valuesVector(values); 763 764 webPage->send(Messages::WebPageProxy::WillSubmitForm(m_frame->frameID(), sourceFrame->frameID(), valuesVector, listenerID, InjectedBundleUserMessageEncoder(userData.get()))); 761 762 webPage->send(Messages::WebPageProxy::WillSubmitForm(m_frame->frameID(), sourceFrame->frameID(), values, listenerID, InjectedBundleUserMessageEncoder(userData.get()))); 765 763 } 766 764
Note: See TracChangeset
for help on using the changeset viewer.