Return annotated text checking strings via UIWKDocumentContext
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Apr 2019 23:46:46 +0000 (23:46 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 23 Apr 2019 23:46:46 +0000 (23:46 +0000)
commit76f148a606b527b941656c93eb74b220beccdc23
tree5ce18000fd601db9e190b66f6ce4f49e65bf982e
parentdff9b16046a30ae6867d45bfe40302d8dd31ccec
Return annotated text checking strings via UIWKDocumentContext
https://bugs.webkit.org/show_bug.cgi?id=197177
<rdar://problem/49064839>

Reviewed by Ryosuke Niwa.

* WebProcess/WebPage/Cocoa/TextCheckingControllerProxy.h:
* WebProcess/WebPage/Cocoa/TextCheckingControllerProxy.mm:
(WebKit::TextCheckingControllerProxy::annotatedSubstringBetweenPositions):
* WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::requestDocumentEditingContext):
Respect the UIWKDocumentRequestAnnotation flag, returning an attributed
string containing the platform text checking annotations.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/WebProcess/WebPage/Cocoa/TextCheckingControllerProxy.h
Source/WebKit/WebProcess/WebPage/Cocoa/TextCheckingControllerProxy.mm
Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm