commit | 659b809a7470643a72c47e66b3d402521c96f213 | [log] [tgz] |
---|---|---|
author | Jacques Newman <janewman@microsoft.com> | Wed Apr 10 22:52:03 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 10 22:52:03 2024 |
tree | 9ba6974059272028d62e74a9ff87d2b12e46c4b2 | |
parent | a113869c0ba85fac4071f9c60c3d45ac62f62ce8 [diff] |
[Views AX] Prefer WrapUnique in BrowserAccessibility*::Create In preparation of moving BrowserAccessibility and BrowserAccessibilityManager to the ui/ layer, I am cleaning up anything that can be done ahead of time. Using the default constructor of unique_ptr creates a presubmit error, as std::make_unique or base::WraptUnique is preferred. Moving BrowserAccessibility and BrowserAccessibilityManager to the UI layer will allow us to share the functionality of these classes with Views as well, allowing us to have a consistent accessibility implementation, while also enabling Views to utilize our caching mechanisms, allowing us to stop recomputing everything on each accessibility API call to views. Bug: 40672441 Change-Id: Ifdd5a71517ce9285643c2a08e4760b8c3c4459ad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5444259 Reviewed-by: Javier Contreras <javiercon@microsoft.com> Reviewed-by: Benjamin Beaudry <benjamin.beaudry@microsoft.com> Commit-Queue: Jacques Newman <janewman@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1285476}
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.