Implement 'right-clicked' tray event on OS X.

This commit is contained in:
Haojian Wu 2015-07-15 19:23:12 +08:00
parent e54fda6b34
commit cca4f4abd5
6 changed files with 24 additions and 6 deletions

View file

@ -60,6 +60,10 @@ void Tray::OnBalloonClosed() {
Emit("balloon-closed");
}
void Tray::OnRightClicked(const gfx::Rect& bounds) {
Emit("right-clicked", bounds);
}
bool Tray::IsDestroyed() const {
return !tray_icon_;
}