feat: add transparency checking to nativeTheme
(#42862)
* feat: add transparency checking to nativeTheme
Refs 4684870
* chore: deprecate previous function
* chore: fix lint
This commit is contained in:
parent
9fc760bc4c
commit
5669a40d5c
8 changed files with 48 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue