| commit | 0d2b27288c2aeef9aa1ef4c06b15d257068dc8ee | [log] [tgz] |
|---|---|---|
| author | Tiago Vignatti <tvignatti@igalia.com> | Thu Sep 25 20:34:14 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 25 20:34:14 2025 |
| tree | 9fdf9668e040f74e0690eee8e47789ec180c8204 | |
| parent | 6cea219bdba1e106e90bcf571ada0bb7a052541a [diff] |
Tagged PDFs: Simplify interface for accessibility data retrieval (6/x) This preparation commit creates the foundation work that, in the follow-up commit, will eventually retrieve the entire structure from the PDF. It continues the previously abandoned CL reviewed at https://crrev.com/c/6339009, now split into these separate parts. This commit simplifies the PDF accessibility API by eliminating redundant parameters and centralizing data access through cached text runs: - Remove text_run's related parameter from GetLinkInfo(), GetHighlightInfo(), GetImageInfo(), GetTextFieldInfo() and PopulateTextRunTypeAndImageAltText() - All methods now use cached text_runs_ directly instead of external parameters - Each method calls CalculateTextRuns() internally to ensure data consistency Bug: 40707542 Change-Id: I1f56de7254b15b4a7cb1ed43c38dbb5b19034b42 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6980355 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/main@{#1520847}
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.