Need additional UIPreviewAction information in WKImagePreviewViewController
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 May 2019 19:35:00 +0000 (19:35 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 May 2019 19:35:00 +0000 (19:35 +0000)
commitf75d7f1383269a3de4fd9148df20863e4c2942e5
treeb5d6008e9dc93e4ce7ce867ad56ffc02cf30a4b7
parent71b33b8fe9d79375ccd7b4836a355628d5dab478
Need additional UIPreviewAction information in WKImagePreviewViewController
https://bugs.webkit.org/show_bug.cgi?id=197540
<rdar://problem/50430510>

Reviewed by Wenson Hsieh.

Include a WebKitAdditions file to provide a macro for
additional UIPreviewAction information.

While here, take the opportunity to move from the deprecated
UIViewControllerPreviewAction to the newer UIPreviewAction.

* UIProcess/WKImagePreviewViewController.mm:
(-[WKImagePreviewViewController previewActionItems]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/UIProcess/WKImagePreviewViewController.mm