Show menu by clicking the menu button
This commit is contained in:
parent
43bfce26a7
commit
698700716b
3 changed files with 9 additions and 15 deletions
|
@ -121,7 +121,8 @@ void MenuDelegate::SwitchToSiblingMenu(views::MenuButton* button) {
|
|||
// nested message loop.
|
||||
content::BrowserThread::PostTask(
|
||||
content::BrowserThread::UI, FROM_HERE,
|
||||
base::Bind(&MenuBar::RunMenu, base::Unretained(menu_bar_), button));
|
||||
base::Bind(base::IgnoreResult(&views::MenuButton::Activate),
|
||||
base::Unretained(button)));
|
||||
}
|
||||
|
||||
} // namespace atom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue