win: Fix notify icon and context menu.

This commit is contained in:
Cheng Zhao 2014-07-11 19:42:53 +08:00
parent b4ba149662
commit b2afe7b3bf
5 changed files with 17 additions and 11 deletions

View file

@ -20,9 +20,12 @@ namespace gfx {
class Point;
}
namespace views {
class MenuRunner;
}
namespace atom {
class Menu2;
class NotifyIconHost;
class NotifyIcon : public TrayIcon {
@ -69,7 +72,7 @@ class NotifyIcon : public TrayIcon {
// The context menu.
ui::SimpleMenuModel* menu_model_;
scoped_ptr<atom::Menu2> menu_;
scoped_ptr<views::MenuRunner> menu_runner_;
DISALLOW_COPY_AND_ASSIGN(NotifyIcon);
};