RESOLVED FIXED 176642
Add WKUIDelegatePrivate equivalent of WKPageUIClient's decidePolicyForGeolocationPermissionRequest
https://bugs.webkit.org/show_bug.cgi?id=176642
Summary Add WKUIDelegatePrivate equivalent of WKPageUIClient's decidePolicyForGeoloca...
Alex Christensen
Reported 2017-09-08 17:52:55 PDT
Add WKUIDelegatePrivate equivalent of WKPageUIClient's decidePolicyForGeolocationPermissionRequest
Attachments
Patch (14.08 KB, patch)
2017-09-08 17:54 PDT, Alex Christensen
no flags
Patch (14.32 KB, patch)
2017-09-09 14:31 PDT, Alex Christensen
no flags
Patch (22.50 KB, patch)
2017-09-11 11:54 PDT, Alex Christensen
no flags
Alex Christensen
Comment 1 2017-09-08 17:54:15 PDT
Alex Christensen
Comment 2 2017-09-09 14:31:56 PDT
Darin Adler
Comment 3 2017-09-10 14:54:57 PDT
Comment on attachment 320358 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=320358&action=review > Source/WebKit/UIProcess/Cocoa/UIDelegate.mm:337 > +Function<void(bool)> UIDelegate::UIClient::decidePolicyForGeolocationPermissionRequest(WebKit::WebPageProxy&, WebKit::WebFrameProxy& frame, API::SecurityOrigin& securityOrigin, Function<void(bool)>&& completionHandler) As I mentioned in the other patch, I see no reason for the return value. We pass in a reference to a completion handler, and we null it out / move it out if we call it, so no need to also move it into a return value.
Alex Christensen
Comment 4 2017-09-11 11:54:37 PDT
Build Bot
Comment 5 2017-09-11 11:55:34 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Alex Christensen
Comment 6 2017-09-11 13:45:40 PDT
Radar WebKit Bug Importer
Comment 7 2017-09-27 12:33:34 PDT
Note You need to log in before you can comment on or make changes to this bug.