| Index: ui/views/focus/focus_manager.cc
|
| diff --git a/ui/views/focus/focus_manager.cc b/ui/views/focus/focus_manager.cc
|
| index 4808b4422cb1157310a4306bb74eb6c950fe1462..b1f372f0baf3b69fd532d0dd103ce46ce165b511 100644
|
| --- a/ui/views/focus/focus_manager.cc
|
| +++ b/ui/views/focus/focus_manager.cc
|
| @@ -66,6 +66,10 @@ bool FocusManager::OnKeyEvent(const ui::KeyEvent& event) {
|
| modifiers |= ui::EF_CONTROL_DOWN;
|
| if (event.IsAltDown())
|
| modifiers |= ui::EF_ALT_DOWN;
|
| +#if defined(OS_MACOSX) || defined(OS_CHROMEOS)
|
| + if (event.IsCommandDown())
|
| + modifiers |= ui::EF_COMMAND_DOWN;
|
| +#endif
|
| ui::Accelerator accelerator(event.key_code(), modifiers);
|
| accelerator.set_type(event.type());
|
| accelerator.set_is_repeat(event.IsRepeat());
|
|
|