Move isAeroGlassEnabled and isDarkMode to systemPreferences

This commit is contained in:
Cheng Zhao 2016-04-25 12:35:09 +09:00
parent d72a0e452f
commit ddd8eae661
8 changed files with 46 additions and 35 deletions

View file

@ -19,6 +19,11 @@ class SystemPreferences : public mate::EventEmitter<SystemPreferences> {
static void BuildPrototype(v8::Isolate* isolate,
v8::Local<v8::ObjectTemplate> prototype);
#if defined(OS_WIN)
bool IsAeroGlassEnabled();
#endif
bool IsDarkMode();
protected:
explicit SystemPreferences(v8::Isolate* isolate);
~SystemPreferences() override;