
If a PDF is searchified, the extracted text is written to the file when the PDF is saved. This is done behind `chrome_pdf::features::kPdfSearchifySave` flag which is disabled by default. In a next CL (http://crrev.com/c/6110470), the user will be given the option to save the original PDF or the PDF with extracted text. Bug: 382610226 Change-Id: I73e1028ce60211e8bed165ffaff7f6630c9103c4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6049156 Reviewed-by: Andy Phan <andyphan@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Alan Screen <awscreen@chromium.org> Commit-Queue: Ramin Halavati <rhalavati@chromium.org> Cr-Commit-Position: refs/heads/main@{#1407724}
//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.