Commit 3b872a19 authored by estade's avatar estade Committed by Commit bot

Dismiss cros alt+tab UI on escape.

BUG=648351

Review-Url: https://codereview.chromium.org/2396603002
Cr-Commit-Position: refs/heads/master@{#422989}
parent b78ae9e3
...@@ -45,6 +45,8 @@ void WindowCycleEventFilterAura::OnKeyEvent(ui::KeyEvent* event) { ...@@ -45,6 +45,8 @@ void WindowCycleEventFilterAura::OnKeyEvent(ui::KeyEvent* event) {
event->IsShiftDown() ? WindowCycleController::BACKWARD event->IsShiftDown() ? WindowCycleController::BACKWARD
: WindowCycleController::FORWARD)); : WindowCycleController::FORWARD));
} }
} else if (event->key_code() == ui::VKEY_ESCAPE) {
WmShell::Get()->window_cycle_controller()->StopCycling();
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment