mac: Add tray.getBounds() API
This commit is contained in:
parent
9993aab5b1
commit
db98e256f2
6 changed files with 29 additions and 11 deletions
|
@ -30,6 +30,10 @@ void TrayIcon::PopUpContextMenu(const gfx::Point& pos,
|
|||
ui::SimpleMenuModel* menu_model) {
|
||||
}
|
||||
|
||||
gfx::Rect TrayIcon::GetBounds() {
|
||||
return gfx::Rect();
|
||||
}
|
||||
|
||||
void TrayIcon::NotifyClicked(const gfx::Rect& bounds, int modifiers) {
|
||||
FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnClicked(bounds, modifiers));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue