mac: Add "double-clicked" event for Tray.

This commit is contained in:
Cheng Zhao 2014-09-09 19:45:21 +08:00
parent ec1db0c7bb
commit 67cbecaba0
6 changed files with 17 additions and 1 deletions

View file

@ -22,4 +22,8 @@ void TrayIcon::NotifyClicked() {
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnClicked());
}
void TrayIcon::NotifyDoubleClicked() {
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnDoubleClicked());
}
} // namespace atom