| Index: ui/views/controls/menu/menu_controller.cc
|
| diff --git a/ui/views/controls/menu/menu_controller.cc b/ui/views/controls/menu/menu_controller.cc
|
| index 9f180dad29eac768d026d9b252964c026cc72eda..904f019ffb9903e2a8dcfd21a8f53455202afc4a 100644
|
| --- a/ui/views/controls/menu/menu_controller.cc
|
| +++ b/ui/views/controls/menu/menu_controller.cc
|
| @@ -474,6 +474,12 @@ void MenuController::OnMouseReleased(SubmenuView* source,
|
| SendMouseReleaseToActiveView(source, event);
|
| return;
|
| }
|
| + if (part.menu->GetDelegate()->ShouldExecuteCommandWithoutClosingMenu(
|
| + part.menu->GetCommand(), event)) {
|
| + part.menu->GetDelegate()->ExecuteCommand(part.menu->GetCommand(),
|
| + event.flags());
|
| + return;
|
| + }
|
| if (!part.menu->NonIconChildViewsCount() &&
|
| part.menu->GetDelegate()->IsTriggerableEvent(part.menu, event)) {
|
| Accept(part.menu, event.flags());
|
|
|