| commit | f85e36dd0df7da502fb24fbfecf94fd89d2a850a | [log] [tgz] |
|---|---|---|
| author | Alan Screen <awscreen@chromium.org> | Mon Jan 13 21:32:43 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 13 21:32:43 2025 |
| tree | beef86b077f5b11f687402fc9a3762a1042f5e49 | |
| parent | 58aac5805f2fa739c9c2bd5cd2545c17e52faf5b [diff] |
[PDF Ink Signatures] Avoid updating drawing brush during stroke A user can simultaneously apply different modes of input (such as mouse + keyboard, or mouse + touchscreen) to cause a change in tool state in the middle of a drawing stroke. Modify PdfInkModule so that the current drawing brush can not be changed while there is an in-progress drawing stroke. Any changes to drawing tool state is captured and applied after an in-progress stroke is finished, making the changes only applicable to subsequent strokes. This includes delaying an update to the cursor image, so that it consistently matches the PdfInkBrush state. Bug: 381908888 Change-Id: Icbeb342b9c3d7e614be6ee044c7355a3041c4a44 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6103003 Reviewed-by: Lei Zhang <thestig@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Andy Phan <andyphan@chromium.org> Commit-Queue: Alan Screen <awscreen@chromium.org> Cr-Commit-Position: refs/heads/main@{#1405717}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.