Fixing Windows tray icon content menu - based on chrome/browser/ui/views/status_icons/status_icon_win.cc
This commit is contained in:
parent
90fbe5c06c
commit
60b363fa3b
2 changed files with 10 additions and 3 deletions
|
@ -20,6 +20,10 @@ namespace gfx {
|
|||
class Point;
|
||||
}
|
||||
|
||||
namespace views {
|
||||
class MenuRunner;
|
||||
}
|
||||
|
||||
namespace atom {
|
||||
|
||||
class NotifyIconHost;
|
||||
|
@ -77,6 +81,9 @@ class NotifyIcon : public TrayIcon {
|
|||
// The context menu.
|
||||
AtomMenuModel* menu_model_;
|
||||
|
||||
// Context menu associated with this icon (if any).
|
||||
std::unique_ptr<views::MenuRunner> menu_runner_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(NotifyIcon);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue