
Refactor by moving the form highlight and selection logic into separate helper methods. In https://crrev.com/c/5841317, these helper methods will be reused to remove form highlights and text selection when entering annotation mode. Bug: 353923998 Change-Id: Ic1424a4b967b29f27a6f24045b9d044f53132dad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5841316 Commit-Queue: Andy Phan <andyphan@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/main@{#1352366}
//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.