Add async option to menu.popup
This commit is contained in:
parent
b091d104f5
commit
4430927f98
5 changed files with 38 additions and 15 deletions
|
@ -19,9 +19,10 @@ class MenuMac : public Menu {
|
|||
protected:
|
||||
MenuMac(v8::Isolate* isolate, v8::Local<v8::Object> wrapper);
|
||||
|
||||
void PopupAt(Window* window, int x, int y, int positioning_item) override;
|
||||
void PopupAt(
|
||||
Window* window, int x, int y, int positioning_item, bool async) override;
|
||||
void PopupOnUI(const base::WeakPtr<NativeWindow>& native_window,
|
||||
int x, int y, int positioning_item);
|
||||
int x, int y, int positioning_item, bool async);
|
||||
|
||||
base::scoped_nsobject<AtomMenuController> menu_controller_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue