Expose UIAction identifiers for _WKElementActions
<rdar://problem/52218950>
Created attachment 372971 [details] Patch
Comment on attachment 372971 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=372971&action=review > Source/WebKit/UIProcess/API/Cocoa/_WKElementAction.h:65 > -+ (UIImage *)imageForElementActionType:(_WKElementActionType)actionType WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA)); > ++ (UIImage *)imageForElementActionType:(_WKElementActionType)actionType WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(13.0)); Why this change? > Source/WebKit/UIProcess/API/Cocoa/_WKElementAction.mm:217 > +#if !defined(TARGET_OS_IOS) || TARGET_OS_IOS Why not a PLATFORM macro? This is an implementation file.
Created attachment 372976 [details] Patch
Comment on attachment 372971 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=372971&action=review >> Source/WebKit/UIProcess/API/Cocoa/_WKElementAction.h:65 >> ++ (UIImage *)imageForElementActionType:(_WKElementActionType)actionType WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(13.0)); > > Why this change? Because we have announced that the next version of iOS will be called 13? >> Source/WebKit/UIProcess/API/Cocoa/_WKElementAction.mm:217 >> +#if !defined(TARGET_OS_IOS) || TARGET_OS_IOS > > Why not a PLATFORM macro? This is an implementation file. Yes, thanks. Will fix.
Committed r246865: <https://trac.webkit.org/changeset/246865>
I still see TARGET_OS_IOS in the .mm file.
(In reply to Darin Adler from comment #7) > I still see TARGET_OS_IOS in the .mm file. That was fixed, along with other things in https://bugs.webkit.org/show_bug.cgi?id=199255 which was r246867
Ah, great, how did I miss that? I actually looked at that check-in first!