win: Implement tray.getBounds() API

This commit is contained in:
Cheng Zhao 2016-06-21 15:49:22 +09:00
parent db98e256f2
commit 886ef1717c
2 changed files with 17 additions and 11 deletions

View file

@ -54,6 +54,7 @@ class NotifyIcon : public TrayIcon {
void PopUpContextMenu(const gfx::Point& pos,
ui::SimpleMenuModel* menu_model) override;
void SetContextMenu(ui::SimpleMenuModel* menu_model) override;
gfx::Rect GetBounds() override;
private:
void InitIconData(NOTIFYICONDATA* icon_data);