feat: enable Windows Control Overlay on Linux (#41769)

This commit is contained in:
Shelley Vohr
2024-06-27 14:56:36 +02:00
committed by GitHub
parent 1d4b00692d
commit 32e5012017
24 changed files with 1026 additions and 107 deletions

View File

@@ -122,10 +122,6 @@ NativeWindow::NativeWindow(const gin_helper::Dictionary& options,
int height;
if (titlebar_overlay_dict.Get(options::kOverlayHeight, &height))
titlebar_overlay_height_ = height;
#if !(BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC))
DCHECK(false);
#endif
}
}