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

@ -32,6 +32,7 @@ class TrayIconCocoa : public TrayIcon,
void PopUpContextMenu(const gfx::Point& pos,
ui::SimpleMenuModel* menu_model) override;
void SetContextMenu(ui::SimpleMenuModel* menu_model) override;
gfx::Rect GetBounds() override;
protected:
// AtomMenuModel::Observer: