commit | b076d83f6726a109b2bf24d0ce7a67d0faf67a7c | [log] [tgz] |
---|---|---|
author | Raymes Khoury <raymes@chromium.org> | Mon Aug 09 00:40:08 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 09 00:40:08 2021 |
tree | 0783d96091a639ffd46f081738a6c7ff32e52064 | |
parent | dfb7c24383522b8749cd408ce33ca24397c577d7 [diff] |
Use InstanceKey in more places in AppServiceInstanceRegistryHelper aura::Window* will not be available in Ash for web apps that run in tabs after Lacros is enabled. Any code that uses an aura::Window* to refer to an instance should instead use an InstanceKey unless it is guaranteed to only be referring to top level aura::Window*s (which will still be available in Ash with Lacros). This converts CalculateVisibilityState, CalculateActivatedState, GetAppId and GetState member functions to take an InstanceKey rather than an aura::Window*. BUG=1235206 Change-Id: I7ac9dc5897a7fba48fdc555a50f30882731d23c2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3071502 Reviewed-by: Nancy Wang <nancylingwang@chromium.org> Commit-Queue: Raymes Khoury <raymes@chromium.org> Cr-Commit-Position: refs/heads/master@{#909686}
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.