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

@ -69,6 +69,10 @@ void Menu::MenuWillShow(ui::SimpleMenuModel* source) {
menu_will_show_.Run();
}
void Menu::Popup(Window* window) {
PopupAt(window);
}
void Menu::InsertItemAt(
int index, int command_id, const base::string16& label) {
model_->InsertItemAt(index, command_id, label);