Would it be possible to add methods and/or events to expose the visibility state of Menu instances? For example methods like `Menu#isVisible()` and `Menu#isHidden()` and events like "show" and "hide".
shell/browser/ui/win/notify_icon.cc
using IconType = electron::TrayIcon::IconType;
  switch (type) {
    case IconType::None:
      return NIIF_NONE;
    case IconType::Info:
      return NIIF_INFO;
    case IconType::Warning:
      return NIIF_WARNING;
    case IconType::Error:
      return NIIF_ERROR;
    case IconType::Custom:
      return NIIF_USER;
    default:
      NOTREACHED() << "Invalid icon type";
  }
}
}  
namespace electron {
NotifyIcon::NotifyIcon(NotifyIconHost* host, UINT id, HWND window, UINT message)