Long tap menu on an image link no longer includes "Save Image" button
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Sep 2016 17:44:31 +0000 (17:44 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Sep 2016 17:44:31 +0000 (17:44 +0000)
commitf9ee3dbdc6562daa396166b6b978d17f48bf15a1
treea714f2363b2e272dbc5d4aaa1b8d2311913585d2
parentfbfe48a0c175e7c5362605ceb930e5ddf2f2178e
Long tap menu on an image link no longer includes "Save Image" button
https://bugs.webkit.org/show_bug.cgi?id=161761
<rdar://27202717>

Patch by Megan Gardner <megan_gardner@apple.com> on 2016-09-14
Reviewed by Beth Dakin.

* UIProcess/ios/WKActionSheetAssistant.mm:
(-[WKActionSheetAssistant defaultActionsForImageSheet:]):
Added share to image sheet as to not regress current functionality
* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::getPositionInformation):
Gather information for images as well as links, and they can be both

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@205915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/ios/WKActionSheetAssistant.mm
Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm