Add Menu.closePopup API on macOS

This commit is contained in:
Kevin Sawicki 2017-02-16 10:58:02 -08:00
parent 947556a23f
commit 6a023dc4fe
8 changed files with 48 additions and 11 deletions

View file

@ -55,6 +55,7 @@ class Menu : public mate::TrackableObject<Menu>,
virtual void PopupAt(Window* window, int x, int y, int positioning_item,
bool async) = 0;
virtual void ClosePopupAt(int32_t window_id) = 0;
std::unique_ptr<AtomMenuModel> model_;
Menu* parent_;