summaryrefslogtreecommitdiffstats
path: root/views/window
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-22 18:31:48 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-22 18:31:48 +0000
commitb1b4fa531d771bfc627836b8192aed17021614b2 (patch)
treebd631da65788ce8a209789c43f472f4a28289d83 /views/window
parent23055d9c157a96eea2c95de19eb4d6505658dfba (diff)
downloadchromium_src-b1b4fa531d771bfc627836b8192aed17021614b2.zip
chromium_src-b1b4fa531d771bfc627836b8192aed17021614b2.tar.gz
chromium_src-b1b4fa531d771bfc627836b8192aed17021614b2.tar.bz2
Revert "Keyboard accessibility for the page and app menus.", rev 42234 and 42236.
TBR=dmazzoni Review URL: http://codereview.chromium.org/1158004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42239 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window')
-rw-r--r--views/window/window_win.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/views/window/window_win.cc b/views/window/window_win.cc
index 17a3f1b..b58bcd4 100644
--- a/views/window/window_win.cc
+++ b/views/window/window_win.cc
@@ -1086,15 +1086,6 @@ void WindowWin::OnSysCommand(UINT notification_code, CPoint click) {
}
}
- // Handle SC_KEYMENU, which means that the user has pressed the ALT
- // key and released it, so we should focus the menu bar.
- if ((notification_code & sc_mask) == SC_KEYMENU && click.x == 0) {
- Accelerator accelerator(win_util::WinToKeyboardCode(VK_MENU),
- false, false, false);
- GetFocusManager()->ProcessAccelerator(accelerator);
- return;
- }
-
// First see if the delegate can handle it.
if (window_delegate_->ExecuteWindowsCommand(notification_code))
return;