feat: add tray.closeContextMenu() (#21807)

This commit is contained in:
Shelley Vohr 2020-01-22 15:25:17 -08:00 committed by GitHub
parent 87af95be3e
commit b90537a629
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 45 additions and 2 deletions

View file

@ -81,6 +81,8 @@ class TrayIcon {
virtual void PopUpContextMenu(const gfx::Point& pos,
AtomMenuModel* menu_model);
virtual void CloseContextMenu();
// Set the context menu for this icon.
virtual void SetContextMenu(AtomMenuModel* menu_model) = 0;