feat: expose systemPreferences.getSystemColor() (#16248)

This commit is contained in:
Shelley Vohr 2019-01-03 14:30:38 -08:00 committed by GitHub
parent 439ba5116f
commit 03892153de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 81 additions and 1 deletions

View file

@ -95,6 +95,8 @@ class SystemPreferences : public mate::EventEmitter<SystemPreferences>
void RemoveUserDefault(const std::string& name);
bool IsSwipeTrackingFromScrollEventsEnabled();
std::string GetSystemColor(const std::string& color, mate::Arguments* args);
bool IsTrustedAccessibilityClient(bool prompt);
// TODO(codebytere): Write tests for these methods once we