Expose Menu's delegate methods in javascript.

This commit is contained in:
Cheng Zhao 2013-05-14 19:26:16 +08:00
parent 9ef9f6bf95
commit d8a6c68bf9
3 changed files with 51 additions and 15 deletions

View file

@ -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_;