Win: Implement context menu for tray icon.

This commit is contained in:
Cheng Zhao 2014-06-03 11:52:57 +08:00
parent 1cb135f7f2
commit 9ef7ecbdaf
2 changed files with 9 additions and 11 deletions

View file

@ -66,6 +66,9 @@ class NotifyIcon : public TrayIcon {
// The currently-displayed icon for the window.
base::win::ScopedHICON icon_;
// The context menu.
ui::SimpleMenuModel* menu_model_;
DISALLOW_COPY_AND_ASSIGN(NotifyIcon);
};