commit | 5b47f6fbcc1e29d960e0dcc6379394c11f8b185f | [log] [tgz] |
---|---|---|
author | Lucas Radaelli <[email protected]> | Wed Aug 06 23:18:02 2025 |
committer | Chromium LUCI CQ <[email protected]> | Wed Aug 06 23:18:02 2025 |
tree | 98af5e2b24ebe5a120ce91a6564258c82f9e2ed9 | |
parent | 60317373b4d6ea34d7db574f7929f8c2a0402980 [diff] |
[Accessibility] Refactor accessible name logic in BrowserAccessibilityAndroid This patch refactors the logic for determining how an accessible name is mapped to Android's accessibility properties. The new private function, `ComputeAndroidNameTo`, centralizes this logic, improving readability and maintainability. The result of this computation is now cached to avoid redundant calculations, leading to a minor performance improvement. This change is purely a refactoring and does not alter any existing functionality. Bug: None Change-Id: I47789d8334e62bf1f85736d8b3759c234a82849d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6822761 Commit-Queue: Lucas Radaelli <[email protected]> Reviewed-by: David Tseng <[email protected]> Cr-Commit-Position: refs/heads/main@{#1497916}
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.