Commit 930bed49 authored by shrikant@chromium.org's avatar shrikant@chromium.org

Reverted metro exit sequence back to original one.

Change was introduced in https://codereview.chromium.org/235933004/

BUG=366175
R=ananta,cpu

Review URL: https://codereview.chromium.org/274793002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269884 0039d316-1c4b-4281-b951-d872f2087c98
parent 264c3cd3
......@@ -925,12 +925,17 @@ void ChromeAppViewAsh::OnMetroExit(MetroTerminateMethod method) {
core_window == ::GetForegroundWindow()) {
DVLOG(1) << "We are in the foreground. Exiting via Alt F4";
SendKeySequence(VK_F4, ALT);
if (ui_channel_)
ui_channel_->Close();
} else {
globals.app_exit->Exit();
}
}
if (ui_channel_)
ui_channel_->Close();
} else {
if (ui_channel_)
ui_channel_->Close();
globals.app_exit->Exit();
globals.app_exit->Exit();
}
}
void ChromeAppViewAsh::OnInputSourceChanged() {
......
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