0
Files
src/pdf
Ramin Halavati 746b80a9f4 Update PDFiumEngine::GetSelection() to return an optional value.
`PDFiumEngine::GetSelection()` did not distinguish between when nothing
was selected, and when an empty first page was selected.

Bug: 387387738
Change-Id: Ib5e7748b41183199682968610cef41fbf1c61305
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6218239
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1413923}
2025-01-30 22:21:51 -08:00
..

//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.