feat: add nativeTheme.inForcedColorsMode (#32956)
This commit is contained in:
parent
4cc2ed842e
commit
755feb4d81
4 changed files with 18 additions and 1 deletions
|
@ -46,6 +46,7 @@ class NativeTheme : public gin::Wrappable<NativeTheme>,
|
|||
bool ShouldUseDarkColors();
|
||||
bool ShouldUseHighContrastColors();
|
||||
bool ShouldUseInvertedColorScheme();
|
||||
bool InForcedColorsMode();
|
||||
|
||||
// ui::NativeThemeObserver:
|
||||
void OnNativeThemeUpdated(ui::NativeTheme* theme) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue