win: Add "balloon-show" and "balloon-closed" events

This commit is contained in:
Cheng Zhao 2014-11-28 19:42:57 +08:00
parent ee3fa67c48
commit 9f99209733
8 changed files with 31 additions and 8 deletions

View file

@ -31,8 +31,16 @@ void TrayIcon::NotifyDoubleClicked() {
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnDoubleClicked());
}
void TrayIcon::NotifyBalloonShow() {
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnBalloonShow());
}
void TrayIcon::NotifyBalloonClicked() {
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnBalloonClicked());
}
void TrayIcon::NotifyBalloonClosed() {
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnBalloonClosed());
}
} // namespace atom