feat: add mac support to systemPrefs.getAccentColor() (#16251)

* feat: add mac support to systemPrefs.getAccentColor()

* note 10.14 retriction
This commit is contained in:
Shelley Vohr 2019-01-03 13:24:55 -08:00 committed by GitHub
parent 5c378de22f
commit 439ba5116f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 32 additions and 3 deletions

View file

@ -49,10 +49,13 @@ class SystemPreferences : public mate::EventEmitter<SystemPreferences>
static void BuildPrototype(v8::Isolate* isolate,
v8::Local<v8::FunctionTemplate> prototype);
#if defined(OS_WIN) || defined(OS_MACOSX)
std::string GetAccentColor();
#endif
#if defined(OS_WIN)
bool IsAeroGlassEnabled();
std::string GetAccentColor();
std::string GetColor(const std::string& color, mate::Arguments* args);
void InitializeWindow();