
To better show word positions for searchify outputs on PDFs, a new word object is added for spaces between consecutive words. The length of the space is calculated based on the relative position of the two words. AX-Relnotes: n/a Bug: 372139880,360803943 Change-Id: I2ae17d58adde3c1ca319a8960bc16d843ff81eca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5951924 Auto-Submit: Ramin Halavati <rhalavati@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Chu-Hsuan Yang <chuhsuan@chromium.org> Commit-Queue: Ramin Halavati <rhalavati@chromium.org> Cr-Commit-Position: refs/heads/main@{#1373736}
//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/40186598): Remove existing //content
dependencies.