chore: deprecate systemPreferences.isAeroGlassEnabled() (#45434)

This commit is contained in:
Milan Burda 2025-02-10 21:17:07 +01:00 committed by GitHub
parent 14fe0932f0
commit e055ce7c39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 30 additions and 43 deletions

View file

@ -60,9 +60,7 @@ gin::ObjectTemplateBuilder SystemPreferences::GetObjectTemplateBuilder(
&SystemPreferences::GetMediaAccessStatus)
#endif
#if BUILDFLAG(IS_WIN)
.SetMethod("isAeroGlassEnabled", &SystemPreferences::IsAeroGlassEnabled)
#elif BUILDFLAG(IS_MAC)
#if BUILDFLAG(IS_MAC)
.SetMethod("postNotification", &SystemPreferences::PostNotification)
.SetMethod("subscribeNotification",
&SystemPreferences::SubscribeNotification)