decidePolicyForNewWindowAction should take a NavigationActionData object
Created attachment 222741 [details] Patch
Attachment 222741 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/API/APIPolicyClient.h:55: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 222741 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=222741&action=review > Source/WebKit2/UIProcess/API/C/WKPage.cpp:1014 > - virtual void decidePolicyForNewWindowAction(WebPageProxy* page, WebFrameProxy* frame, NavigationType type, WebEvent::Modifiers modifiers, WebMouseEvent::Button mouseButton, const ResourceRequest& resourceRequest, const String& frameName, WebFramePolicyListenerProxy* listener, API::Object* userData) override > + virtual void decidePolicyForNewWindowAction(WebPageProxy* page, WebFrameProxy* frame, const NavigationActionData& navigationActionData, const ResourceRequest& resourceRequest, const String& frameName, RefPtr<WebFramePolicyListenerProxy> listener, API::Object* userData) override This 'listener' should get moved.
Committed r163123: <http://trac.webkit.org/changeset/163123>