| commit | c2dcaee53501f3a123d2176d63f4bdd1f30a7ab7 | [log] [tgz] |
|---|---|---|
| author | Jimmy <jimmyxgong@chromium.org> | Mon Nov 28 19:44:13 2022 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Nov 28 19:44:13 2022 |
| tree | 84759d0c7ffeabcc3fa553567754f80f5210ebad | |
| parent | 8558361ce223f2dbd82bc5797231c9b1b7b13763 [diff] |
shortcuts: Refactor accelerator layouts Expand AcceleratorLayoutDetails to include accelerator action ID and source. Previously kAcceleratorLayouts was a map between ash accelerator ID's and AceleratorLayoutDetails, but was limited in scope and did not support adding additional action ID's from other provider e.g. browser. This change updates kAcceleratorLayouts to no longer be a map but rather a vector and removes the constrictions of using ash Accelerator ID's. Bug: b:216049298 Test: ash_webui_unittest Change-Id: I694a890a6662befbfa1538bae5b6afe7c5c88039 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4038601 Reviewed-by: Zentaro Kavanagh <zentaro@chromium.org> Commit-Queue: Zentaro Kavanagh <zentaro@chromium.org> Cr-Commit-Position: refs/heads/main@{#1076354}
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.