feat: add transparency checking to nativeTheme (#43138)

feat: add transparency checking to nativeTheme
This commit is contained in:
Shelley Vohr 2024-08-01 12:14:04 +02:00 committed by GitHub
parent 6a5ab8aa35
commit 549e1a22e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 18 additions and 1 deletions

View file

@ -46,6 +46,7 @@ class NativeTheme : public gin::Wrappable<NativeTheme>,
bool ShouldUseHighContrastColors();
bool ShouldUseInvertedColorScheme();
bool InForcedColorsMode();
bool GetPrefersReducedTransparency();
// ui::NativeThemeObserver:
void OnNativeThemeUpdated(ui::NativeTheme* theme) override;