Expose Menu's delegate methods in javascript.
This commit is contained in:
parent
9ef9f6bf95
commit
d8a6c68bf9
3 changed files with 51 additions and 15 deletions
|
@ -39,7 +39,7 @@ class Menu : public EventEmitter,
|
|||
virtual string16 GetSublabelForCommandId(int command_id) const OVERRIDE;
|
||||
virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
|
||||
|
||||
virtual void Popup(NativeWindow* window, int x, int y) = 0;
|
||||
virtual void Popup(NativeWindow* window) = 0;
|
||||
|
||||
scoped_ptr<ui::SimpleMenuModel> model_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue