commit | 25a4fbf3d3a9d3f697b551d701adef0d2015153d | [log] [tgz] |
---|---|---|
author | Javier Contreras Tenorio (from Dev Box) <javiercon@microsoft.com> | Fri Mar 22 20:33:42 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 22 20:33:42 2024 |
tree | 9baaa828d327deea895b2c7742b7814dcde497f3 | |
parent | ed326ffc8d5da63f51c6b6f519b6fcf77b5a0bcf [diff] |
[views_ax] Introducing SetDescription(View) and other prereqs This CL does a couple of things: 1. Introduce SetDescription() with a view from which the description will be used. 2. Introduce a new class that will act as a scoped setter for the ViewAccessibility variable introduced that will make it so that ViewAccessibility can ignore missing widgets for tests, so that GetAccessibleNodeData can finish running and not exit early. 3. We remove the DCHECK from ViewAccessibility::SetDescription. Now it mirrors the behavior from View::SetDescription, which allows for empty string to be passed in, and this will remove the description and descriptionFrom attributes from the AXNodeData. Bug: 325137417 Change-Id: Ie54a81bcec16cf1751102f4672e5a32cc673e229 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5384354 Commit-Queue: Javier Contreras <javiercon@microsoft.com> Reviewed-by: Benjamin Beaudry <benjamin.beaudry@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1277067}
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.