commit | 8e820cfac53f56acb5af979230660eebdb6ff046 | [log] [tgz] |
---|---|---|
author | chinsenj <chinsenj@chromium.org> | Sat Nov 20 02:14:23 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Nov 20 02:14:23 2021 |
tree | 40dde78ee2c1acd44858178bab05d3223c9839e1 | |
parent | 36c7e5e44f04128b21757f26301e2b5fc2e1deeb [diff] |
desk_templates: Separate unsupported app type from supported window api Currently the `IsWindowSupportedForDeskTemplate()` api used to determine whether an app is supported returns false if the window has no associated Full Restore app id. However, just because a window lacks this doesn't make the app unsupported. This CL moves the check for a Full Restore app id to `CaptureActiveDeskAsTemplate()`, omitting the respective window from the template if it lacks an app id. Test: added Bug: 1269466 Change-Id: Ie1fd858a8f22db81a63b3b9740d7fbb9827baef1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3288771 Commit-Queue: Jeremy Chinsen <chinsenj@chromium.org> Reviewed-by: Sammie Quon <sammiequon@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/main@{#943784}
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.