updated Tray API to ignore double click events on macOS (#8952)

This commit is contained in:
mikeykhalil 2018-04-01 18:07:26 -07:00
parent a08b4f780c
commit 1f29124d11
6 changed files with 36 additions and 0 deletions

View file

@ -51,6 +51,10 @@ class TrayIcon {
};
virtual void SetHighlightMode(HighlightMode mode);
// Sets the flag which determines whether to ignore double click events. This
// only works on macOS.
virtual void SetIgnoreDoubleClickEvents(bool ignore);
// Displays a notification balloon with the specified contents.
// Depending on the platform it might not appear by the icon tray.
virtual void DisplayBalloon(ImageType icon,