No more need to override Menu::Popup
This commit is contained in:
parent
0e3a3d0748
commit
ca77c95c6d
6 changed files with 5 additions and 11 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue