refactor: convert browser window state fns to props (#18618)

This commit is contained in:
Shelley Vohr
2019-06-04 22:44:16 -07:00
committed by GitHub
parent 164cc43440
commit a0b1f4fe0b
10 changed files with 260 additions and 60 deletions

View File

@@ -102,9 +102,9 @@ void SystemPreferences::BuildPrototype(
&SystemPreferences::IsSwipeTrackingFromScrollEventsEnabled)
.SetMethod("getEffectiveAppearance",
&SystemPreferences::GetEffectiveAppearance)
.SetMethod("getAppLevelAppearance",
.SetMethod("_getAppLevelAppearance",
&SystemPreferences::GetAppLevelAppearance)
.SetMethod("setAppLevelAppearance",
.SetMethod("_setAppLevelAppearance",
&SystemPreferences::SetAppLevelAppearance)
.SetProperty("appLevelAppearance",
&SystemPreferences::GetAppLevelAppearance,