Add IsSwipeTrackingFromScrollEventsEnabled in system prefs
This commit is contained in:
parent
beca2d26f3
commit
e0c0e3e5f7
7 changed files with 17 additions and 18 deletions
|
@ -40,6 +40,10 @@ class SystemPreferences : public mate::EventEmitter<SystemPreferences> {
|
|||
void UnsubscribeLocalNotification(int request_id);
|
||||
v8::Local<v8::Value> GetUserDefault(const std::string& name,
|
||||
const std::string& type);
|
||||
// On 10.7+, back and forward swipe gestures can be triggered using a scroll
|
||||
// gesture, if enabled in System Preferences. This function returns true if
|
||||
// the feature is supported and enabled, and false otherwise.
|
||||
bool IsSwipeTrackingFromScrollEventsEnabled();
|
||||
#endif
|
||||
bool IsDarkMode();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue