Add async option to menu.popup
This commit is contained in:
parent
b091d104f5
commit
4430927f98
5 changed files with 38 additions and 15 deletions
|
@ -53,9 +53,8 @@ class Menu : public mate::TrackableObject<Menu>,
|
|||
void ExecuteCommand(int command_id, int event_flags) override;
|
||||
void MenuWillShow(ui::SimpleMenuModel* source) override;
|
||||
|
||||
virtual void PopupAt(Window* window,
|
||||
int x = -1, int y = -1,
|
||||
int positioning_item = 0) = 0;
|
||||
virtual void PopupAt(Window* window, int x, int y, int positioning_item,
|
||||
bool async) = 0;
|
||||
|
||||
std::unique_ptr<AtomMenuModel> model_;
|
||||
Menu* parent_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue