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/tray_icon.h
public:
  static TrayIcon* Create();
#if defined(OS_WIN)
  using ImageType = HICON;
#else
  using ImageType = const gfx::Image&;
#endif
  virtual ~TrayIcon();
  
  virtual void SetImage(ImageType image) = 0;
  
  virtual void SetPressedImage(ImageType image);
  
  
  
  
  virtual void SetToolTip(const std::string& tool_tip) = 0;
#if defined(OS_MACOSX)
  
  virtual void SetIgnoreDoubleClickEvents(bool ignore) = 0;
  virtual bool GetIgnoreDoubleClickEvents() = 0;
  
  virtual void SetTitle(const std::string& title) = 0;
  virtual std::string GetTitle() = 0;
#endif
  enum class IconType { None, Info, Warning, Error, Custom };