tray: send tray icon position as payload onclick OSX
This commit is contained in:
parent
4608f5e9cd
commit
6d7d068e49
8 changed files with 26 additions and 9 deletions
|
@ -26,8 +26,8 @@ void TrayIcon::DisplayBalloon(const gfx::Image& icon,
|
|||
const base::string16& contents) {
|
||||
}
|
||||
|
||||
void TrayIcon::NotifyClicked() {
|
||||
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnClicked());
|
||||
void TrayIcon::NotifyClicked(const gfx::Point& pos) {
|
||||
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnClicked(pos));
|
||||
}
|
||||
|
||||
void TrayIcon::NotifyDoubleClicked() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue