Answer
What is the Window Controls Overlay API?
The Window Controls Overlay API lets an installed desktop PWA reclaim the title-bar area next to the window’s minimize, maximize and close buttons, so the app can render its own tabs, search bar or menu there instead of leaving it blank — similar to how VS Code’s desktop app uses its title bar. It is enabled via "display_override": ["window-controls-overlay"] in the manifest.
How it is enabled
Add "window-controls-overlay" to the manifest’s display_override array; CSS env() variables report the overlay’s exact geometry so you can lay out content around the system buttons.
Support
Chromium desktop browsers (Chrome, Edge) only; no support on macOS Safari, Firefox or mobile.
Typical use case
Productivity apps that want a native-feeling custom title bar with app-specific controls instead of wasted blank space.