commit | 770e2d74ba063de4e611bb9d1640fe6ff75c75e2 | [log] [tgz] |
---|---|---|
author | Daniel Andersson <dandersson@chromium.org> | Wed Sep 28 16:59:57 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 28 16:59:57 2022 |
tree | b07827875edbae8b4870e4a5700781b717b0c93f | |
parent | 217448c78e585671a0c4ac096a079eba58311c75 [diff] |
saved_desks: Removing some casts in saved_desk_unittest. Breaking up GetDesksTemplatesButtonForRoot(root, bool zero_state) into two separate functions. The individual functions can then return the actual type (ZeroStateIconButton* and ExpandedDesksBarButton*) which means callers don't have to downcast from views::View*. Added a helper to get TestDesksTemplatesDelegate. Bug: b/247953937 Change-Id: I7d7c50123637e349a1bd9ce34d8016d380ec2ae5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3915911 Reviewed-by: Yongshun Liu <yongshun@chromium.org> Commit-Queue: Daniel Andersson <dandersson@chromium.org> Cr-Commit-Position: refs/heads/main@{#1052469}
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.