
Remove accessors to access PdfViewPluginBase members from
PdfViewWebPlugin. Replace with accessors to access PdfViewWebPlugin
members from PdfViewPluginBase.
Also inherit from PaintManager::Client in PdfViewWebPlugin, as the
PaintManager member is moving.
Bug: 1302059
Change-Id: I0354151dfea4cc8b8be4758e6f24b65461e46362
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3920074
Commit-Queue: K. Moon <kmoon@chromium.org>
Auto-Submit: Lei Zhang <thestig@chromium.org>
Reviewed-by: K. Moon <kmoon@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1052508}
//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.