WebCore:
Fixed: <rdar://problem/
3983628> control-click on WebView is not selecting the word under the cursor (Mail, non-editable WebView)
Reviewed by rjw.
* kwq/KWQKHTMLPart.mm:
(KWQKHTMLPart::sendContextMenuEvent): check if SPI to always enable selecting closest word is enabled
* kwq/WebCoreBridge.h:
WebKit:
Fixed: <rdar://problem/
3983628> control-click on WebView is not selecting the word under the cursor (Mail, non-editable WebView)
Reviewed by rjw.
* WebCoreSupport.subproj/WebBridge.m:
(-[WebBridge selectWordBeforeMenuEvent]): new
* WebView.subproj/WebView.m:
(-[WebView _selectWordBeforeMenuEvent]): new SPI
(-[WebView _setSelectWordBeforeMenuEvent:]): new SPI
* WebView.subproj/WebViewInternal.h:
* WebView.subproj/WebViewPrivate.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8506
268f45cc-cd09-0410-ab3c-
d52691b4dbfc