fix: abnormal behavior of windows background material (#47957)

This commit is contained in:
Shelley Vohr 2025-08-05 16:34:17 +02:00 committed by GitHub
commit e6ac03d0ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 195 additions and 107 deletions

View file

@ -231,6 +231,10 @@ class NativeWindow : public base::SupportsUserData,
// Vibrancy API
virtual void SetVibrancy(const std::string& type, int duration);
const std::string& background_material() const {
return background_material_;
}
virtual void SetBackgroundMaterial(const std::string& type);
// Traffic Light API