0
Files
src/pdf
Lei Zhang 30991981df [PDF Ink Signatures] Refactor PdfInkModule code that records strokes
Every time a new position gets added to a stroke, the following happens:

1) The position gets converted to a canonical position.
2) A time stamp is calculated.
3) The result of (1) and (2) gets appended to a vector.

Since this happens in several places, consolidate the repeated code that
performs the above actions into PdfInkModule::RecordStrokePosition().

Change-Id: I676bc66af7c8b9d085c2df82138ec85d1563d4f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5750615
Reviewed-by: Andy Phan <andyphan@chromium.org>
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>
Cr-Commit-Position: refs/heads/main@{#1335829}
2024-08-01 01:59:35 +00:00
..
2024-07-18 23:10:37 +00:00
2024-07-18 23:10:37 +00:00
2024-07-18 23:10:37 +00:00
2024-07-18 23:10:37 +00: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.