Add systemPreferences.getColor on Windows

This commit is contained in:
Kevin Sawicki 2016-10-10 14:31:06 -07:00
parent 9b0a32f62c
commit 663f8f4b54
3 changed files with 83 additions and 0 deletions

View file

@ -52,6 +52,7 @@ void SystemPreferences::BuildPrototype(
#if defined(OS_WIN)
.SetMethod("getAccentColor", &SystemPreferences::GetAccentColor)
.SetMethod("isAeroGlassEnabled", &SystemPreferences::IsAeroGlassEnabled)
.SetMethod("getColor", &SystemPreferences::GetColor)
#elif defined(OS_MACOSX)
.SetMethod("postNotification",
&SystemPreferences::PostNotification)