mac: Add tray.getBounds() API

This commit is contained in:
Cheng Zhao 2016-06-21 15:40:30 +09:00
parent 9993aab5b1
commit db98e256f2
6 changed files with 29 additions and 11 deletions

View file

@ -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));
}