Have to snatch performDictionaryLookupAtLocation away from WebPageMac and route it through PDFLayerController. <rdar://problem/13121409>
Created attachment 185661 [details] patch
Comment on attachment 185661 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=185661&action=review > Source/WebKit2/WebProcess/Plugins/PDF/PDFPlugin.mm:935 > + if ([lookupSelection string] && [[lookupSelection string] isNotEqualTo:@""]) Better to test [[lookupSelection string] length], which you can do without null-checking [lookupSelection string]
http://trac.webkit.org/changeset/141372