RemoteRWHVMac: Add dictionary lookup support
Split the RWHVCocoa showLookUpDictionaryOverlayInternal, showLookUpDictionaryOverlayFromRange, and showLookUpDictionaryOverlayAtPoint into browser-side and AppShim-side components. Remove RenderWidgetHostViewMacDictionaryHelper, because it ends up having no effect. It is used to specify a target NSView on which to draw the dictionary overlay, but it is only used for the PDF plugin, which is incapable of drawing the dictionary overlay (because it can't look up the point in the view at which it is supposed to be drawn). This should be a cut-and-paste with no functional effects. Bug: 821651 Change-Id: Ie443bdc76a5e0b28d2f6595fcff0601f8ce4a228 Reviewed-on: https://chromium-review.googlesource.com/1000765 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:ccameron <ccameron@chromium.org> Reviewed-by:
Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/master@{#549421}
Showing
Please register or sign in to comment