
Do this for gfx::Rect and gfx::RectF. Convert some existing code to use the newly added helpers. Change-Id: Ibe11b05199ddb8414f735777773d92a042fcd25a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5854921 Reviewed-by: Keren Zhu <kerenzhu@chromium.org> Reviewed-by: Robert Flack <flackr@chromium.org> Commit-Queue: Robert Flack <flackr@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Auto-Submit: Lei Zhang <thestig@chromium.org> Reviewed-by: danakj <danakj@chromium.org> Reviewed-by: Akihiro Ota <akihiroota@chromium.org> Cr-Commit-Position: refs/heads/main@{#1354815}
//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.