Merge pull request #6686 from darkdh/swipe_prefs

Swipe back/forward should respect system preferences
This commit is contained in:
Cheng Zhao 2016-08-03 16:10:29 +09:00 committed by GitHub
commit 322fb97d8d
4 changed files with 17 additions and 0 deletions

View file

@ -59,6 +59,8 @@ void SystemPreferences::BuildPrototype(
.SetMethod("unsubscribeLocalNotification",
&SystemPreferences::UnsubscribeLocalNotification)
.SetMethod("getUserDefault", &SystemPreferences::GetUserDefault)
.SetMethod("isSwipeTrackingFromScrollEventsEnabled",
&SystemPreferences::IsSwipeTrackingFromScrollEventsEnabled)
#endif
.SetMethod("isDarkMode", &SystemPreferences::IsDarkMode);
}