Add type to UIImage symbol mapping for _WKElementAction
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Jun 2019 01:28:57 +0000 (01:28 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Jun 2019 01:28:57 +0000 (01:28 +0000)
commit984cce1a79a9a9375a4b8e8c732cadc0fcf3638c
tree1e6cbab99cb88d309b06aa5ca700b5eaa4164a8a
parent5908ab471215f71699095cb21fb7678645591542
Add type to UIImage symbol mapping for _WKElementAction
https://bugs.webkit.org/show_bug.cgi?id=199255

Reviewed by Sam Weinig.

Moving some code in from WebKitAdditions now
that the API is public.

* UIProcess/API/Cocoa/_WKElementAction.mm:
(+[_WKElementAction imageForElementActionType:]):
(elementActionTypeToUIActionIdentifier):
(uiActionIdentifierToElementActionType):

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