0
Files
src/pdf
rajendrant 456b83c54e Add pdf document load observer
Adds observer for pdf document load complete event.
Also changes the consumers (contextual cueing, page_content_annotations) to listen to the event before querying page count.

Change-Id: Iecb4571aeb61c52dde6fe1bc770e5bdb372a1525
Bug: 395086836
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6250270
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Raj T <rajendrant@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Reviewed-by: Duncan Mercer <mercerd@google.com>
Cr-Commit-Position: refs/heads/main@{#1420001}
2025-02-13 10:46:28 -08:00
..
2025-02-13 10:46:28 -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.