
Add a new histogram `PDF.RenderAndPaintVisiblePagesTime` to track the
time taken to fully display the visible part of the PDF inside the PDF
viewer. This metric will help us measure the rendering performance of
different PDF renderers, such as AGG and Skia.
Bug: 1394159
Change-Id: I5bae86c801e4dd4ce2f69ec9e35947956a528173
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4068144
Reviewed-by: Alan Screen <awscreen@chromium.org>
Commit-Queue: Nigi <nigi@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1078139}
//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/1220865): Remove existing //content
dependencies.