| Index: ash/wm/window_cycle_event_filter_aura.cc
|
| diff --git a/ash/wm/window_cycle_event_filter_aura.cc b/ash/wm/window_cycle_event_filter_aura.cc
|
| index 69bf11bc0105d5c1474d320a39fbc362c79e2486..4dea0ade0d44d13a15d8f69a8abf4bd2f643f6a9 100644
|
| --- a/ash/wm/window_cycle_event_filter_aura.cc
|
| +++ b/ash/wm/window_cycle_event_filter_aura.cc
|
| @@ -20,9 +20,13 @@ WindowCycleEventFilterAura::~WindowCycleEventFilterAura() {
|
| }
|
|
|
| void WindowCycleEventFilterAura::OnKeyEvent(ui::KeyEvent* event) {
|
| - // Until the alt key is released, all key events are handled by this window
|
| - // cycle controller: https://crbug.com/340339.
|
| - event->StopPropagation();
|
| + // Until the alt key is released, all key events except the tab press (which
|
| + // is handled by the accelerator controller to call Step) are handled by this
|
| + // window cycle controller: https://crbug.com/340339.
|
| + if (event->key_code() != ui::VKEY_TAB ||
|
| + event->type() != ui::ET_KEY_PRESSED) {
|
| + event->StopPropagation();
|
| + }
|
| // Views uses VKEY_MENU for both left and right Alt keys.
|
| if (event->key_code() == ui::VKEY_MENU &&
|
| event->type() == ui::ET_KEY_RELEASED) {
|
|
|