fix: make tray not block main process (#18880)
* fix: make tray not block main process * make AtomMenuModel refcounted
This commit is contained in:
parent
24ffc3cfb0
commit
dc2cd8e780
4 changed files with 25 additions and 4 deletions
|
@ -30,6 +30,7 @@ class TrayIconCocoa : public TrayIcon, public AtomMenuModel::Observer {
|
|||
void SetHighlightMode(TrayIcon::HighlightMode mode) override;
|
||||
void SetIgnoreDoubleClickEvents(bool ignore) override;
|
||||
bool GetIgnoreDoubleClickEvents() override;
|
||||
void PopUpOnUI(scoped_refptr<AtomMenuModel> menu_model);
|
||||
void PopUpContextMenu(const gfx::Point& pos,
|
||||
AtomMenuModel* menu_model) override;
|
||||
void SetContextMenu(AtomMenuModel* menu_model) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue