commit | 8193f9cb791a21d541d83973cfca025dac53cf7c | [log] [tgz] |
---|---|---|
author | Alex Carutasu <[email protected]> | Tue Aug 12 03:20:17 2025 |
committer | Chromium LUCI CQ <[email protected]> | Tue Aug 12 03:20:17 2025 |
tree | e33316cca04b2961051cb3ed5277c5dd91627c46 | |
parent | fd87112babc8dde6d342b2f60f256ede64b8b38c [diff] |
[bedrock] Migrate web_app::AppBrowserController to BrowserWindowFeatures This CL moves web_app::AppBrowserController ownership from Browser to BrowserWindowFeatures. Notes: - This CL updates all the app_controller_ references in browser.cc to use Browser::GetAppBrowserController(), which fetches it from BrowserWindowFeatures. - This CL moves the BrowserList::RemoveBrowser(this) call in ~Browser() above the call that destroys BrowserWindowFeatures because observers of Browser removals can depend on accessing AppBrowserController. - I also updated the web_app::AppBrowserController::IsWebApp() callsites in browser.cc to nullcheck GetAppBrowserController() directly because that's what the former ended up doing in a round-about way anyway. Bug: 431667774 Change-Id: I67b6397c863133a0cabd9f813ef4611a0b59644d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6821930 Reviewed-by: Fred Shih <[email protected]> Commit-Queue: Alex Carutasu <[email protected]> Reviewed-by: Tom Lukaszewicz <[email protected]> Cr-Commit-Position: refs/heads/main@{#1499942}
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.