
Similar to the Pepper implementation, return the link under the cursor, which is updated upon PdfViewWebPlugin::HandleInputEvent(). Ignore the position param of the method. Meanwhile, bubble the `link_under_cursor_` state from PDFiumEngine up to PdfViewPluginBase, since the state is more pertinent to the PDFEngine client. Bug: 1191817 Change-Id: I96671a7be79b0e03c6fa485f83b62bf1f9cfbc59 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2976675 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Daniel Hosseinian <dhoss@chromium.org> Cr-Commit-Position: refs/heads/master@{#894530}
//pdf
contains the PDF plugin, its Blink-based replacement, as well as PDF
utility functions that leverage PDFium. It can use low-level components that
live below the content layer, as well as other foundational code like
//printing
. It should not use //content
or anything in //components
that
lives above the content layer. Code that lives above the content layer should
live in //components/pdf
, or in the embedder. All the code here should run in
sandboxed child processes.
TODO(crbug.com/1220865): Remove existing //content
dependencies.