Bug 146883

Summary: Allow clients to opt-out of default app link link actions
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: WebKit2Assignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: adele, enrica, joepeck, mitz, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
[PATCH] Proposed Fix mitz: review+

Description Joseph Pecoraro 2015-07-11 15:11:30 PDT
* SUMMARY
Some clients may not want WebKit to create AppLink link actions, allow clients to opt out via a delegate.
Comment 1 Joseph Pecoraro 2015-07-11 15:16:30 PDT
Another part of: <rdar://problem/21221902>
Comment 2 Joseph Pecoraro 2015-07-11 15:29:17 PDT
Created attachment 256669 [details]
[PATCH] Proposed Fix

Bots may not build this as it relies on an earlier change that hasn't landed yet.
Comment 3 mitz 2015-07-11 15:34:31 PDT
Comment on attachment 256669 [details]
[PATCH] Proposed Fix

View in context: https://bugs.webkit.org/attachment.cgi?id=256669&action=review

> Source/WebKit2/UIProcess/API/Cocoa/WKUIDelegatePrivate.h:58
> +- (BOOL)_webView:(WKWebView *)webView shouldIncludeAppLinkActionsForElement:(_WKActivatedElementInfo *)element;

We’ve decided to specify availability for delegate methods, and to do so for SPI as well as API, so please add WK_AVAILABLE(NA, WK_IOS_TBA) here.
Comment 4 Joseph Pecoraro 2015-07-11 16:00:53 PDT
http://trac.webkit.org/changeset/186719