commit | 1b2c58c9c465694cac0718f872a59e9b90044169 | [log] [tgz] |
---|---|---|
author | Georg Neis <neis@chromium.org> | Sun Dec 04 02:03:10 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun Dec 04 02:03:10 2022 |
tree | fdc1a8a7e4e1e39063b55eb23dc327912a040fc9 | |
parent | 48afc6217a6ebe92cad9a3913cbc9ae52a9d6ab4 [diff] |
system_web_apps: Generalize ShouldReuseExistingWindow Replace SystemWebAppDelegate's ShouldReuseExistingWindow with a function GetWindowForLaunch that returns the window to be reused or, to request a new window, nullptr. The default implementation uses FindSystemWebAppBrowser such that an existing window is reused as before. Besides giving system web apps more flexibility, this lets us simplify crosapi's UrlAshHandler and makes it easier to invoke the OS_URL_HANDLER app from elsewhere (esp. in an upcoming CL). Bug: chromium:1338903 Change-Id: I42c1a52116e93304c4b485581229e790eaf9a19e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4060866 Reviewed-by: David Trainor <dtrainor@chromium.org> Commit-Queue: Georg Neis <neis@chromium.org> Reviewed-by: Jiewei Qian <qjw@chromium.org> Cr-Commit-Position: refs/heads/main@{#1078980}
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.