chore: remove deprecated systemPreferences color scheme events (#39341)

This commit is contained in:
David Sanders 2023-08-14 01:37:18 -07:00 committed by GitHub
parent cf658b700d
commit d166182865
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 21 additions and 49 deletions

View file

@ -115,8 +115,6 @@ class SystemPreferences
v8::Local<v8::Value> GetAppLevelAppearance(v8::Isolate* isolate);
void SetAppLevelAppearance(gin::Arguments* args);
#endif
bool IsInvertedColorScheme();
bool IsHighContrastColorScheme();
v8::Local<v8::Value> GetAnimationSettings(v8::Isolate* isolate);
// disable copy
@ -158,10 +156,6 @@ class SystemPreferences
std::string current_color_;
bool inverted_color_scheme_ = false;
bool high_contrast_color_scheme_ = false;
std::unique_ptr<gfx::ScopedSysColorChangeListener> color_change_listener_;
#endif
};