No more need to override Menu::Popup

This commit is contained in:
Cheng Zhao 2016-01-22 11:27:17 -07:00
parent 0e3a3d0748
commit ca77c95c6d
6 changed files with 5 additions and 11 deletions

View file

@ -51,7 +51,7 @@ class Menu : public mate::TrackableObject<Menu>,
void ExecuteCommand(int command_id, int event_flags) override;
void MenuWillShow(ui::SimpleMenuModel* source) override;
virtual void Popup(Window* window) = 0;
void Popup(Window* window);
virtual void PopupAt(Window* window,
int x = -1, int y = -1,
int positioning_item = 0) = 0;