0
Files
src/pdf/test
Lei Zhang de2dcd1f77 [PDF Ink Signatures] Draw thumbnails and send them to the frontend
PdfInkModule will notify PdfViewWebPlugin that a thumbnail update is
necessary when the following events occur:

- Drawing stroke finishes
- Erasing stroke finishes
- Undo
- Redo

Then PdfViewWebPlugin will get the thumbnail size from the PDF engine,
generate a transparent thumbnail with the Ink strokes, and send that to
the frontend. The frontend can then overlay this thumbnail on top of the
thumbnail for the page contents. With two thumbnails, the relatively
static page contents thumbnail does not need to be repeatedly
regenerated.

Bug: 353942908
Change-Id: I4adaac90d3c15aa723d42bfb9e9b95d0b7d77828
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5824214
Reviewed-by: Alan Screen <awscreen@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Andy Phan <andyphan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1351607}
2024-09-05 18:58:14 +00:00
..