Only provide a single result to the action menu DDActionContext
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Nov 2014 19:04:02 +0000 (19:04 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Nov 2014 19:04:02 +0000 (19:04 +0000)
commit8ae0ce27d92239f6121c7f6cf7f64d55d8673294
tree5618cacecb830470c711e190e7a28f81f7db687e
parent9dfb4f2d8d83572b8273b5e7ce55c92c2ba5f22b
Only provide a single result to the action menu DDActionContext
https://bugs.webkit.org/show_bug.cgi?id=138469
<rdar://problem/18869036>

Reviewed by Anders Carlsson.

* WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::scanForDataDetectedItems):
Only provide one result; secondary results can be extremely unrelated to
the primary one and confuse Data Detectors further down the line.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@175704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/mac/WebPageMac.mm